Skip to content
Snippets Groups Projects
Verified Commit 61b0f5f8 authored by Jake's avatar Jake
Browse files

added softbreak

parent 887a874c
No related branches found
No related tags found
No related merge requests found
Pipeline #313244 passed
...@@ -232,6 +232,8 @@ ...@@ -232,6 +232,8 @@
{{ render_inline_image(inline, lang) }} {{ render_inline_image(inline, lang) }}
{%- elif etype == "math" -%} {%- elif etype == "math" -%}
{{ render_inline_math(inline, lang) }} {{ render_inline_math(inline, lang) }}
{%- elif etype == "softbreak" -%}
{{ render_inline_softbreak(inline, lang) }}
{%- else -%} {%- else -%}
<br><strong>ERROR: Unhandled inline type: '{{ etype|e }}'</strong><br> <br><strong>ERROR: Unhandled inline type: '{{ etype|e }}'</strong><br>
{%- endif -%} {%- endif -%}
...@@ -334,3 +336,7 @@ ...@@ -334,3 +336,7 @@
<br><strong>ERROR: Unhandled mathtype: '{{ mathtype|e }}'</strong><br> <br><strong>ERROR: Unhandled mathtype: '{{ mathtype|e }}'</strong><br>
{%- endif -%} {%- endif -%}
{%- endmacro -%} {%- endmacro -%}
{%- macro render_inline_softbreak(inline, lang) -%}
&shy;
{%- endmacro -%}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment