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

贡献者指南