elvish/pkg/md/testdata/fuzz/FuzzFmtPreservesHTMLRender/77f51992726987c5b66121aa85a2b57152ae80152ad2831a7b7d4c761a09ed2f
Qi Xiao b61dc859ad pkg/md: Add fuzz tests, and fix some bugs found by them.
- Avoid reformatting "- - *" as "- - -"; the former is a 3-level list with no
  content, the latter is a thematic break.

- Escape "~~~" at the start of line.

- When handling escapes inside ATX headings, use "i == 0" as a condition for
  start of line, since we are actually not at the literal start of line after
  writing the heading starter.

- Fix the definition of Unicode punctuations to be consistent with the spec.
2022-11-02 02:03:19 +00:00

3 lines
32 B
Plaintext

go test fuzz v1
string("\t~~~")