Markdown: should handle punctuation variants
harbor run -t mimo-v2.6-rl/format-code-task-002322
harbor download mimo-v2.6-rl/format-code-task-002322
Fix the following issue:
Markdown: should handle punctuation variants Prettier 1.8.2-dev (ece764a)
ece764a
--parser markdown
Input:
This ia an english paragraph with a CJK quote "中文". This ia an english paragraph with a CJK quote “中文“.
Output:
This ia an english paragraph with a CJK quote "中文". This ia an english paragraph with a CJK quote “ 中文 “.
Expected: Same as input.
Should use punctuation instead of just ascii punctuation.
https://github.com/prettier/prettier/blob/ece764a0495159af770346842fe704a45e1bb0ee/src/util.js#L14-L17