Loosing added html code

  • Unknown's avatar

    I’m trying to add the <mark> html code to blog posts. When I save the posts and see them on the live site I do not see the changes.

    Is WordPress deleting my html code?

    Is there an easier way to add html code from the editor like <abbr>, <def>, etc.?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi.
    I tagged this thread with modlook for staff assistance. Be patient while waiting. :)

  • Hi there,

    It looks like we haven’t added support for mark tags yet as it’s automatically stripped out if I try to use it, so instead if you want to highlight your text you can use a span-tag, as so:

    This is some text, <span style="background-color: yellow;">part of which</span> is highlighted

    The more common types of HTML can be added in visual mode using the toolbar buttons in the editor. For other HTML you need to add it manually in the HTML view of the editor, or you can use markdown:

    Markdown

    When adding HTML, be aware that we don’t support all HTML tags. You can see a list of those currently supported here:

    Code

  • The topic ‘Loosing added html code’ is closed to new replies.