Support » Plugin: Meta Tag Manager » Tags stripped when using angle brackets in Content

  • I was planning to use this plugin to insert a prefetch http-equiv meta tag as recommended by Mozilla in this Link Prefetch article.

    This is what I tried to achieve:
    <meta http-equiv="Link" content="</images/big.jpeg>; rel=prefetch">

    This is the result:
    <meta http-equiv="Link" content="; rel=prefetch" />

    Can you please adjust the code, so the brackets are not stripped from the content?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus


    I see what you mean, and can look into this for a future release.

    It does need some careful consideration as the only way to do this is by loosening some sanitization rules which may open the door to security vulnerabilities. Will look into it as time permits, but one possible way to so it is like so with this patch:

    • This reply was modified 2 years, 8 months ago by  Marcus.
    Plugin Author Marcus


    @amielucha not sure if you tried the patch, otherwise check out update 2.1, which includes the proposed fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tags stripped when using angle brackets in Content’ is closed to new replies.