0
Welcome Guest! Login
0 items Join Now

Where to customize the way Rokpad strips HTML?

    • shenk's Avatar
    • shenk
    • Hero Rocketeer
    • Posts: 424
    • Thanks: 11

    Where to customize the way Rokpad strips HTML?

    Posted 4 years 4 months ago
    • When editing article with Rokpad, HTML like

      <p><br></p>


      will be stripped. Although it is a good thing, I'd like to know if there is a way to prevent this stripping. I can't find it in the plugin setting and editor settings.

      Moreover, is there a way to strip HTML like

      <p>&nbsp;</p>
    • Last Edit: 4 years 4 months ago by shenk.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: Where to customize the way Rokpad strips HTML?

    Posted 4 years 4 months ago
    • Please do not post extensions/template specific questions in the "General Discussion" forum. You should post in the extension forum or template forum as appropriate. Most of these forums are for members who have a current paid membership. Our priority is always to assist paying members.

      Thank you for your understanding.

      Your subscription appears to have expired. Support does require a current subscription.



      You should enter:
      <p><br/></p>

      But I just tried both your code and mine in rokpad and it does not strip the code - it leaves it exactly as you entered it.

      Also, I would say that in either case the code is not good. You should be using classes and CSS to style elements rather that trying to put blank line and non-breaking spaces in the content.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.052 seconds