Skip to content

Commit

Permalink
FIX: not using the new map syntax because old prebuild versions does …
Browse files Browse the repository at this point in the history
…not handle it yet
  • Loading branch information
Oldes committed Oct 16, 2020
1 parent c47108f commit 3acbfdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mezz/codec-html-entities.reb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Rebol [
}
]

html-entities: #(
html-entities: #[map! [
;@@ https://eastmanreference.com/list-of-html-entity-names-and-numbers
;-- Punctuation, programming, and other common symbols
"lt" #"^(3C)" ; 60 Open tag
Expand Down Expand Up @@ -270,7 +270,7 @@ html-entities: #(
"zwj" #"^(200D)" ; 8205 Zero width joiner
"lrm" #"^(200E)" ; 8206 Left-to-right mark
"rlm" #"^(200F)" ; 8207 Right-to-left mark
)
]]

any-except-&: complement charset "&"
alphanum: charset [#"0" - #"9" #"a" - #"z" #"A" - #"Z"]
Expand Down

0 comments on commit 3acbfdb

Please sign in to comment.