Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Publii v.0.36.1 can’t handle tag for javascript and ld+json

  • This topic has 4 replies, 2 voices, and was last updated 3 years, 7 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #3183
    Avatar photoCls


    I installed the new Publii v.0.36.1 (build 13320) beta. After editing my document, that had ld+json and javascript tags, it is not rendered anymore.

    I had to remove the tags and edit the html file on my server to add the tags again.

    Best, Claas

    Avatar photoCls
    This reply has been marked as private.
    Avatar photoTomasz Dziuda


    TinyMCE is removing script tags by default. You can consider changing TinyMCE settings. I suppose that it is a similar problem:

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photoCls


    thanks for your answer.

    I added to tinymce.override.json
    "extended_valid_elements": "*[*]"

    But thats does not solve the problem for me.

    I also noticed that the CDATA part was added by Publii. It would be correct without the CDATA part.

    Avatar photoCls

    Disabeling script at all worked for me by adding:

      valid_elements : "script"


Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.