Skip to content

Elm: Recognise unicode escapes as valid Char#3105

Merged
RunDevelopment merged 5 commits intoPrismJS:masterfrom
hoonweiting:elm-char
Oct 3, 2021
Merged

Elm: Recognise unicode escapes as valid Char#3105
RunDevelopment merged 5 commits intoPrismJS:masterfrom
hoonweiting:elm-char

Conversation

@hoonweiting
Copy link
Copy Markdown
Contributor

Elm recognises unicode escapes from '\u{0000}' to '\u{10FFFF}' as valid Char. Not sure if the regex I modified is the best way to do it though!

@github-actions
Copy link
Copy Markdown

github-actions bot commented Oct 3, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +5 B (+0.8%).

Details
file master pull size diff % diff
components/prism-elm.min.js 596 B 601 B +5 B +0.8%

Generated by 🚫 dangerJS against fba86d0

Copy link
Copy Markdown
Member

@RunDevelopment RunDevelopment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @hoonweiting!

Only one nit!

hoonweiting and others added 2 commits October 4, 2021 02:01
Co-authored-by: Michael Schmidt <msrd0000@gmail.com>
@RunDevelopment RunDevelopment merged commit 736c581 into PrismJS:master Oct 3, 2021
@RunDevelopment
Copy link
Copy Markdown
Member

Thank you for contributing @hoonweiting!

@hoonweiting hoonweiting deleted the elm-char branch October 3, 2021 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants