aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Christian Murphy <christian.murphy.42@gmail.com>2022-10-25 02:00:16 -0700
committerLibravatar GitHub <noreply@github.com>2022-10-25 11:00:16 +0200
commit6a600621a0d374657562b0c08c252b3d164a1540 (patch)
tree0e39b005a36c8905d90d15a720eff87cf6347279
parentb98dc6a5bfa763ea98e7fecaa4eda0803b9acd40 (diff)
downloadmarkdown-rs-6a600621a0d374657562b0c08c252b3d164a1540.tar.gz
markdown-rs-6a600621a0d374657562b0c08c252b3d164a1540.tar.bz2
markdown-rs-6a600621a0d374657562b0c08c252b3d164a1540.zip
Regenerate unicode punctuation
Closes GH-15. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
-rw-r--r--src/util/unicode.rs25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/util/unicode.rs b/src/util/unicode.rs
index 2b79a88..15004c7 100644
--- a/src/util/unicode.rs
+++ b/src/util/unicode.rs
@@ -15,7 +15,7 @@
/// ## References
///
/// * [*ยง 2.1 Characters and lines* in `CommonMark`](https://spec.commonmark.org/0.30/#unicode-punctuation-character)
-pub const PUNCTUATION: [char; 819] = [
+pub const PUNCTUATION: [char; 842] = [
'\u{0021}',
'\u{0022}',
'\u{0023}',
@@ -796,6 +796,16 @@ pub const PUNCTUATION: [char; 819] = [
'\u{11AA0}',
'\u{11AA1}',
'\u{11AA2}',
+ '\u{11B00}',
+ '\u{11B01}',
+ '\u{11B02}',
+ '\u{11B03}',
+ '\u{11B04}',
+ '\u{11B05}',
+ '\u{11B06}',
+ '\u{11B07}',
+ '\u{11B08}',
+ '\u{11B09}',
'\u{11C41}',
'\u{11C42}',
'\u{11C43}',
@@ -805,6 +815,19 @@ pub const PUNCTUATION: [char; 819] = [
'\u{11C71}',
'\u{11EF7}',
'\u{11EF8}',
+ '\u{11F43}',
+ '\u{11F44}',
+ '\u{11F45}',
+ '\u{11F46}',
+ '\u{11F47}',
+ '\u{11F48}',
+ '\u{11F49}',
+ '\u{11F4A}',
+ '\u{11F4B}',
+ '\u{11F4C}',
+ '\u{11F4D}',
+ '\u{11F4E}',
+ '\u{11F4F}',
'\u{11FFF}',
'\u{12470}',
'\u{12471}',