--- layout: tasks/shortcodes --- {%- if site.debug.compress == false -%} {{ content }} {%- else -%} {%- if content contains "" -%} {%- assign pre_blocks = content_block | split: "" -%} {{ pre_blocks.last | split: " " | join: " " -}} {%- else -%} {{- content_block | split: " " | join: " " -}} {%- endif -%} {%- endfor -%} {%- else -%} {{- content | split: " " | join: " " -}} {%- endif -%} {%- endif -%}