Coder Social home page Coder Social logo

Comments (6)

betweenbrain avatar betweenbrain commented on August 29, 2024

Does it strip an empty meta tag like <meta /> If so, maybe this be added to the default whitelist of filters.

from plg_system_structureddata.

alexprut avatar alexprut commented on August 29, 2024

Yes, that could solve the problem, but if it is inserted in the Blacklist there is a reason? security reason?
I can't find that list in the Joomla project...

from plg_system_structureddata.

betweenbrain avatar betweenbrain commented on August 29, 2024

I'd need to review the code to be sure, but I don't think it's necessarily a case of it being in the blacklist per se, but more of a case of only those tags in the whitelist being allowed. I think if it isn't in the whitelist, it may be filtered out by default.

But, Super Users aren't filtered by default, so it this may also be a TinyMCE issue too.

from plg_system_structureddata.

RCheesley avatar RCheesley commented on August 29, 2024

I think, from memory, that only tags on a whitelist are allowed. May be worth adding meta to the whitelist if we can? Does this help? http://www.tinymce.com/wiki.php/configuration:valid_elements

from plg_system_structureddata.

alexprut avatar alexprut commented on August 29, 2024

@RCheesley Yes that helps 👍
In Joomla the default tinymce blacklist is: invalid_elements : "script,applet,iframe", as you see there is no meta tag included in that list, tinymce strip it anyway.
This should be the solution https://stackoverflow.com/questions/17491373/how-to-enable-meta-tag-in-tinymce-4-0
http://www.tinymce.com/forum/viewtopic.php?pid=114685

from plg_system_structureddata.

RCheesley avatar RCheesley commented on August 29, 2024

Great, so there is a workaround at least - are we able to change that setting to have the meta tag whitelisted?

from plg_system_structureddata.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.