edgurgel/solid

break and continue with whitespace control issue

開放

#86 建立於 2021年9月6日

 (2 則留言) (0 個反應) (0 位負責人)Elixir (56 個分叉)github user discovery
bughacktoberfest

倉庫指標

星標
 (257 顆星)
PR 合併指標
 (平均合併 17天 10小時) (30 天內合併 2 個 PR)

描述

     Render result was different!
     Input:
     ########################

     this should print

     {%- break -%}

     this should not print

     ########################


     code:  liquid_output == solid_output
     left:  "########################\n\nthis should print\n"
     right: "########################\n\nthis should print"
     Render result was different!
     Input:
     ########################

     this should print

     {%- continue %}

     this should not print

     ########################


     code:  liquid_output == solid_output
     left:  "########################\n\nthis should print\n"
     right: "########################\n\nthis should print"

https://github.com/edgurgel/solid/blob/master/test/integration/whitespace_control_cases/break_tag_test.exs#L3-L15 & https://github.com/edgurgel/solid/blob/master/test/integration/whitespace_control_cases/continue_tag_test.exs#L3-L15

貢獻者指南