Keyword

Stop HTML from being stripped out of Introtext

  • Sean Carney
  • Sean Carney's Avatar Topic Author
  • Offline
  • Premium Member
More
12 years 2 months ago - 12 years 2 months ago #101367 by Sean Carney
I suspect this is something very basic and I think I must have tweaked a setting wrong because previously I had thought this was working the way I want it to.

What I am wanting is to NOT strip out HTML from the introtext in the category views.

In K2 Parameters I have set the following:

Content tab: Content Cleanup section:
Introtext HTML cleanup (tag strip) = No
Fulltext HTML cleanup (tag strip) = No

So, it seems like I have the correct parameters set.

I then go to a Category view, in this case my category is called "Nature's Eight Doctors"

life.drcarney.com/lifestyle/nature-s-eight-doctors

The first article, should be displaying some bold, some italic and underline and a paragraph but it is not. If you click on the Read More link the formatting all shows.

In the Category settings for this particular category I have set the following for life.drcarney.com/lifestyle/nature-s-eight-doctors:

introtext = Show
Introtext word limit = 140

Can there be another K2 setting somewhere that would remove all formatting from the introtext?

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

  • Sean Carney
  • Sean Carney's Avatar Topic Author
  • Offline
  • Premium Member
More
12 years 2 months ago #101368 by Sean Carney
Replied by Sean Carney on topic Re: Stop HTML from being stripped out of Introtext
Interesting. I see a lot of people reading this message but nobody replying. Sure would love an answer! :-)

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

More
12 years 1 month ago #101369 by LOU MILLER
I have the same problem with HTML being stripped out of item while using JCE editor.

What I have done that seems to work is to toggle the editor, enter the html code, then save with out going back to the visual editor.

There must be a setting in the editor that controls this.

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

  • Sean Carney
  • Sean Carney's Avatar Topic Author
  • Offline
  • Premium Member
More
12 years 1 month ago #101370 by Sean Carney
Replied by Sean Carney on topic Re: Stop HTML from being stripped out of Introtext
Hopefully some K2 guru will have the answer for us before Christmas! :-(

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

More
12 years 1 month ago #101371 by Lefteris
Hi. Since you have introtext word limit applied the HTML is going to be stripped. Otherwise it may break your site.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 1 month ago #101372 by william white
Replied by william white on topic Re: Stop HTML from being stripped out of Introtext
@lefteris - That is clear as a bell when you think about it!

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

More
11 years 9 months ago - 11 years 9 months ago #101373 by Stonedfury
So then how do we limit the intro text and keep the formatting?

Tried the <hr id="system-readmore" /> and it breaks the page format once you click to read the article. Is there a way to keep formatting and use the intro text limit?

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


Powered by Kunena Forum