Migdal

元記事: 質問スレッド

たたむ
 
a_i profile image
A.I.

ご報告ありがとうございます!試したところ、本家でも再現したのでバグ報告しました。一応こちらでも調べてみますが、少し時間がかかるかもしれません……

Markdown table is not parsed inside details liquid tag #18923

Describe the bug

Markdown tables seem not being parsed inside the details liquid tag for some reason. It is not that Markdown is totally unavailable inside the tag, but only tables as far as I am currently aware.

To Reproduce

  1. Open dev.to/new
  2. Paste the following text into the body
    ![placeholder](https://via.placeholder.com/150)
    
    A|B|C
    --|--|--
    1|2|**3**
    
    {% details sample %}
    
    ![placeholder](https://via.placeholder.com/150)
    
    A|B|C
    --|--|--
    1|2|**3**
    
    {% enddetails %}
    
  3. Preview, save, or publish to see it renders as the screenshot below

Expected behavior

Markdown tables should be rendered as HTML tables either inside or outside the details tag.

Screenshots

  • dev.to post edit UI: image

  • dev.to post preview (<details> opened): image

Desktop (please complete the following information):

  • OS, version: Win 11
  • Browser, version: FF 108.0.1

Smartphone (please complete the following information):

  • Device: iPhone SE
  • OS, version: iOS 15.7
  • Browser, version: Forem iOS app
たたむ
 
sashimiwiki profile image
Fafs F. Sashimi

対応ありがとうございます! issueまで立ててもらってありがたいです……本家のバグとなると確かに修正には時間がかかるかもしれませんね……気長に待ちたいと思います。

スレッド スレッド
 
a_i profile image
A.I. • 編集済

間に合わせの修正で他に問題が出るかもしれませんが、とりあえず表は書けるようにコードを直したので、一度記事を空更新してみてください。

表のテスト
A:指格 B:属格
faivan faivai faivaut

非表示にされているコメントがあります(詳細