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

    (@netweblogic)

    NetWebLogic Support

    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:

    http://pastebin.com/hJzPsfb8

    • This reply was modified 6 months, 1 week ago by  Marcus.
    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    @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)
  • You must be logged in to reply to this topic.