Test yo:| Strain | Link |
| --- | --- |```
Output in topic:
Test yo:| Strain | Link |
| — | — |
| Glueberry OG von Dutch Passion | Check it out |
| Skywalker OG Gelato Auto (Ganja Farmer Seeds) - Steckbrief, Erfahrungen, etc | Check it out |
## Example
https://cablogstaging.discoursehosting.net/t/keio-enionioe/64239
Wizard.json attached
I tried to fix via <br><br> and , but they are rendered as text
I tried via `\n`, but then line break AND \n are rendered as below
Quick update: with some dodgy workarounds I managed to make it work. But it would be nice from usability to make the line breaks work outside the box and maybe wrap liquid code so that it doesn’t break those?
{%- capture result -%}
Test yo:
| Strain | Link |
| --- | --- |
{%- capture raw_data -%}w{step_1_field_2}{%- endcapture -%}
{%- assign parts = raw_data | split: "}, {" -%}
{%- for part in parts -%}
{%- if part contains "title" and part contains "url" -%}
{%- assign title_start = part | split: 'title"=>"' -%}
{%- if title_start.size > 1 -%}
{%- assign title_end = title_start[1] | split: '", "' -%}
{%- assign title = title_end[0] -%}
{%- assign url_start = part | split: 'url"=>"' -%}
{%- if url_start.size > 1 -%}
{%- assign url_end = url_start[1] | split: '"' -%}
{%- assign url = url_end[0] -%}
| {{ title }} | [Check it out]({{ url }}) |
{%- endif -%}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endcapture -%}
{%- assign result_with_newlines = result | replace: "| --- | --- ||", "| --- | --- |
|" | replace: ") ||", ") |
|" -%}
{{ result_with_newlines }}