Keyword

h2 tags are being cleaned up despite settings

  • Geoffrey Mack
  • Geoffrey Mack's Avatar Topic Author
  • Offline
  • Senior Member
More
9 years 7 months ago #147488 by Geoffrey Mack
h2 tags are being cleaned up despite settings was created by Geoffrey Mack
I double checked my settings. k2 is not supposed to cleanup the html in the intro text or full text. Screenshot shows this. imgur.com/8yh0UgI

I think this MUST be a bug. It is stripping h2 tags from the intro text view. Please help.

Please Log in or Create an account to join the conversation.

  • Geoffrey Mack
  • Geoffrey Mack's Avatar Topic Author
  • Offline
  • Senior Member
More
9 years 7 months ago #147489 by Geoffrey Mack
Replied by Geoffrey Mack on topic h2 tags are being cleaned up despite settings
I even tried putting <p class="blah"> into the item and that gets stripped out too.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #147498 by Krikor Boghossian
Replied by Krikor Boghossian on topic h2 tags are being cleaned up despite settings
If you are using a word limit, then all HTML tags are being stripped. If you want to get around this behaviour you need to use a custom introtext.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #149710 by TheAnt
Hi Geoffrey, did you solved this issue? I get a similar one where some <p> tags are stripped into Item View while clean up and intro text limit are disabled.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #149738 by Krikor Boghossian
Replied by Krikor Boghossian on topic h2 tags are being cleaned up despite settings
It could be related to two factors: a) Your template stripping HTML tags, your editor's settings. These settings will override K2's settings.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #149739 by TheAnt

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 5 months ago #149741 by Krikor Boghossian
Replied by Krikor Boghossian on topic h2 tags are being cleaned up despite settings
Will do

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum