- Posts: 52
COMMUNITY FORUM
h2 tags are being cleaned up despite settings
- Geoffrey Mack
-
Topic Author
- Offline
- Senior Member
Less
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.
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
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 52
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
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.
- TheAnt
-
- Offline
- Premium Member
Less
More
- Posts: 112
9 years 5 months ago #149710
by TheAnt
Replied by TheAnt on topic h2 tags are being cleaned up despite settings
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
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.
- TheAnt
-
- Offline
- Premium Member
Less
More
- Posts: 112
9 years 5 months ago #149739
by TheAnt
Replied by TheAnt on topic h2 tags are being cleaned up despite settings
Thanks Krikor, please look here:
www.joomlaworks.net/forum/k2-en/44259-two-or-more-empty-paragraphs-question#149712
www.joomlaworks.net/forum/k2-en/44259-two-or-more-empty-paragraphs-question#149712
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
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.