minimal-mistakes icon indicating copy to clipboard operation
minimal-mistakes copied to clipboard

Title should not be markdownified

Open lsolesen opened this issue 3 years ago • 1 comments

Environment

  • Minimal Mistakes version:
  • Ruby gem or remote theme version:
  • Jekyll version:
  • Git repository URL:
  • GitHub Pages hosted (if yes provide URL to site):
  • Operating system:

I cannot use a pipe | in the title, as it will be changed by the markdownify. It seems unneccesary to markdownify the title, but there is probably some reason for this?

{%- if seo_title -%}
  {%- assign seo_title = seo_title | markdownify | strip_html | strip_newlines | escape_once -%}
{%- endif -%}

Expected behavior

I think it should be pssible to use a pipe in the title.

Steps to reproduce the behavior

Just try to add a pipe to the title.

Other

lsolesen avatar Jul 31 '21 21:07 lsolesen

I second that. If you submit a PR to change this I'll be in favor.

iBug avatar Aug 07 '21 16:08 iBug