about summary refs log tree commit diff
path: root/web/panettone/test/inline-markdown_test.lisp
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-04-11T00·24+0200
committersterni <sternenseemann@systemli.org>2021-04-11T20·11+0000
commit4edef59ba48eba53b258223833a36803602d4250 (patch)
tree01675f8d09b86034681a112ec5a26d3225967d2c /web/panettone/test/inline-markdown_test.lisp
parentd7b89df748fd9de8015602c1a7d9d36cddd96664 (diff)
feat(panettone): don't use `_` for em in inline markdown r/2478
Since we are still using third_party, underscores are kind of common in
issue titles and are probably often forgotten to escape. Let's just
support `*` for emphasized text in titles for now.

Change-Id: I305bcf4d4c59123bba4ce816a6da2ee8b022c34e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2926
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'web/panettone/test/inline-markdown_test.lisp')
-rw-r--r--web/panettone/test/inline-markdown_test.lisp10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/panettone/test/inline-markdown_test.lisp b/web/panettone/test/inline-markdown_test.lisp
index 2b6c3b89002c..a32464456d48 100644
--- a/web/panettone/test/inline-markdown_test.lisp
+++ b/web/panettone/test/inline-markdown_test.lisp
@@ -10,12 +10,12 @@
 
 (inline-markdown-unit-test
   inline-markdown-typical-test
-  "hello _world_, here is ~~no~~ `code`!"
+  "hello *world*, here is ~~no~~ `code`!"
   "hello <em>world</em>, here is <del>no</del> <code>code</code>!")
 
 (inline-markdown-unit-test
   inline-markdown-two-emphasize-types-test
-  "_stress_ *this*"
+  "*stress* *this*"
   "<em>stress</em> <em>this</em>")
 
 (inline-markdown-unit-test
@@ -30,8 +30,8 @@
 
 (inline-markdown-unit-test
   inline-markdown-escaping-test
-  "A backslash \\\\ shows: \\*, \\_, \\` and \\~~"
-  "A backslash \\ shows: *, _, ` and ~~")
+  "A backslash \\\\ shows: \\*, \\` and \\~~"
+  "A backslash \\ shows: *, ` and ~~")
 
 (inline-markdown-unit-test
   inline-markdown-nested-escaping-test
@@ -45,7 +45,7 @@
 
 (inline-markdown-unit-test
   inline-markdown-no-unclosed-tags-test
-  "A tag, once opened, _must be closed"
+  "A tag, once opened, *must be closed"
   "A tag, once opened, <em>must be closed</em>")
 
 (inline-markdown-unit-test