vivliostyle / vfm

⬇️ Open and extendable Markdown syntax and toolchain.
https://vivliostyle.github.io/vfm/#/vfm
Other
69 stars 12 forks source link

fix: Fixed an issue where ruby couldn't escape pipe with a backslash #114

Closed akabekobeko closed 2 years ago

akabekobeko commented 3 years ago

32 対応。

@spring-raining レビューをお願いします。

tests/ruby.test.ts の "Enables escape in ruby body" が本件と対応するものとなります。想定通りか確認してください。

なおテストについて MDAST の検証をやめて HTML のみに変更していますが、これは将来の remark 更新で micromark 対応していないものの処理結果が反映されないことを見越しての対応です。他のテストも私が引き継いでからの新規追加分はそのようにしています。

akabekobeko commented 2 years ago

@spring-raining レビューありがとうございました!

コメントアウトされていたコードは試行錯誤中に元として残していたものでコミット時に消し忘れていたものです。ご指摘のとおり不要なので削除コミットを反映させていただきました。