Keyword

HTML stripped from introtext

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77467 by Flavia Silveira
HTML stripped from introtext was created by Flavia Silveira
I have the K2 Content Cleanup Settings set to NO for both intro text and fulltext but thetags are still being stripped from introtext only. I checked the parameters for the category and subcategory as well. All are set to NO. Full text on article page view is fine.

Interestingly enough the issue showed up after upgrading from RC to the new stable version.

Any tips on how to fix this?

I also checked JCE and the settings are disabled for html cleanup as well. I even disabled JCE completely just to make sure it was not the culprit. I checked the core parameters and set the access permissions properly.

I am not sure what else to look for to fix this problem. Any tip, help, advice, pointer is very appreciated,



Thanks,

Flavia

Flavia
Geek. Author. Role Player.

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

More
15 years 5 months ago #77468 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
Hey Flavia,
Can you post an example of the specific tags that are being stripped? IE, what the code should be and whats actually being outputted. :)
Cheers,
Chris

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77469 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
Hi Chris,

All tags are being stripped like, , , etc... The text looks fine when you click on the title link and view article in full but the homepage content has no formatting whatsoever.
example at: flahdesign.com/FDJ1510/

Thank you for checking on it.

Flavia

Chris Rault said:

Hey Flavia, Can you post an example of the specific tags that are being stripped? IE, what the code should be and whats actually being outputted. :)
Cheers,
Chris

Flavia
Geek. Author. Role Player.

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

More
15 years 5 months ago #77470 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
I see what you mean now :) Its essentially stripping out the other paragraphs and links in the intro text. I'm going to try see if i can recreate the issue on my local k2 setup :) Back in a bit..

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

More
15 years 5 months ago #77471 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
Ok, i took the same code that you had on your article view and added it as one of my articles intro text and its displaying no problem (ie, maintains the paragraphs and links). Did you upgrade from the previous version of K2?

I also did a search on the k2 files and compared the various instances of introTextCleanup and was not able to find any difference.

Last but not least, have you tried clearing your Joomla cache?

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

More
15 years 5 months ago #77472 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
"I have the K2 Content Cleanup Settings set to NO for both intro text and fulltext but the
tags are still being stripped from introtext only. I checked the parameters for the category and subcategory as well. All are set to NO. Full text on article page view is fine."

By the way, where are disabling the introtext cleanup? I just echoed out the introTextCleanup and it switches from 0 to 1 when i enable from the K2 params, so the variable is definitely working.

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

More
15 years 5 months ago #77473 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
Here are some screenies:

Intro text enabled (notice the "1" above the published in):
emberapp.com/connectr/images/introtext-cleanup-enabled

Intro text disabled:
emberapp.com/connectr/images/introtext-cleanup-disabled

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77474 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
I have cleaned the cache and still nothing. The checked the parameters for the category (blog) , the parameters for the item itself and cleanup code is disabled on both.
I should be back around 3 to put the backup online and see what I can do with it...maybe revert to RC.

Flavia

Chris Rault said:"I have the K2 Content Cleanup Settings set to NO for both intro text and fulltext but the tags are still being stripped from introtext only. I checked the parameters for the category and subcategory as well. All are set to NO. Full text on article page view is fine."

By the way, where are disabling the introtext cleanup? I just echoed out the introTextCleanup and it switches from 0 to 1 when i enable from the K2 params, so the variable is definitely working.

Flavia
Geek. Author. Role Player.

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77475 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
Interestingly the tags got stripped from my post here too...

Flavia

Flavia Silveira said:Hi Chris,
All tags are being stripped like, , , etc... The text looks fine when you click on the title link and view article in full but the homepage content has no formatting whatsoever. example at: flahdesign.com/FDJ1510/

Thank you for checking on it.

Flavia

Chris Rault said:

Hey Flavia, Can you post an example of the specific tags that are being stripped? IE, what the code should be and whats actually being outputted. :) Cheers,
Chris

Flavia
Geek. Author. Role Player.

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

More
15 years 5 months ago #77476 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
I'm not sure about setting it on the specific categories or items, but i just set mine in the top right parameters from the dashboard..

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

More
15 years 5 months ago #77477 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
This site is powered by Ning, so its prob just the setting on the comments that doesnt allow code to inserted ;)

Flavia Silveira said:Interestingly the tags got stripped from my post here too...
Flavia

Flavia Silveira said:Hi Chris, All tags are being stripped like, , , etc... The text looks fine when you click on the title link and v... flahdesign.com/FDJ1510/
Thank you for checking on it.

Flavia

Chris Rault said:

Hey Flavia, Can you post an example of the specific tags that are being stripped? IE, what the code should be and whats actually being outputted. :) Cheers, Chris

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77478 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
That is what I did. I am going to try and set another category to the homepage and see if the same thing happens.

Flavia

Chris Rault said:I'm not sure about setting it on the specific categories or items, but i just set mine in the top right parameters from the dashboard..

Flavia
Geek. Author. Role Player.

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77479 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
I know....I meant that I might have the Monte Zuma Tag Stripping curse or something...
*sigh*

Flavia

Chris Rault said:This site is powered by Ning, so its prob just the setting on the comments that doesnt allow code to inserted ;)
Flavia Silveira said:Interestingly the tags got stripped from my post here too... Flavia

Flavia Silveira said:Hi Chris, All tags are being stripped like, , , etc... The text looks fine when you click on the title link and v... flahdesign.com/FDJ1510/ Thank you for checking on it.

Flavia

Chris Rault said:

Hey Flavia, Can you post an example of the specific tags that are being stripped? IE, what the code should be and whats actually being outputted. :) Cheers, Chris

Flavia
Geek. Author. Role Player.

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

More
15 years 5 months ago #77480 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
"I know....I meant that I might have the Monte Zuma Tag Stripping curse or something..."
- LOL! Seems like the html strippers are following you around :P

I'm not sure what else to suggest, as everything is working fine my local dev site (fresh install).

Maybe someone from the K2 team can step in and offer some advice on where else to check?

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77481 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
It would be nice to hear from them as I have confirmed that the tags are fine on the RC install I have but not with the Stable version so it sort of proves it is related to updates done to the latest version.
I might just downgrade and see how I go from there....

Thanks,

Flavia

Chris Rault said:- LOL! Seems like the html strippers are following you around :P

I'm not sure what else to suggest, as everything is working fine my local dev site (fresh install).

Maybe someone from the K2 team can step in and offer some advice on where else to check?

Flavia
Geek. Author. Role Player.

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

More
15 years 5 months ago #77482 by Chris Rault
Replied by Chris Rault on topic HTML stripped from introtext
Glad to hear you managed to get it working again. It is strange though, as i'm working from the latest version and mine seems to be working fine.

Good luck! I hope you are able to figure out the cause of the problem ;)

Cheers,
Chris

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

  • Flavia Silveira
  • Flavia Silveira's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 5 months ago #77483 by Flavia Silveira
Replied by Flavia Silveira on topic HTML stripped from introtext
I haven't......the backup I had was an outdated version of the site.....I have to rebuild from scratch....
I am attempting a fresh installation. Hopefully things will work out this way....it's my last attempt....if nothing works this way I can either go back to 2.1RC or dump K2 until a solution to this conflict (which I believe is a conflict with something else I have installed) is found.

Cheers and than you for the fresh eyes :)

Flavia

Chris Rault said:Glad to hear you managed to get it working again. It is strange though, as i'm working from the latest version and mine seems to be working fine.
Good luck! I hope you are able to figure out the cause of the problem ;)

Cheers,
Chris

Flavia
Geek. Author. Role Player.

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

  • Third Sun Productions
  • Third Sun Productions's Avatar
  • Offline
  • Junior Member
More
15 years 4 months ago #77484 by Third Sun Productions
Replied by Third Sun Productions on topic HTML stripped from introtext
I was having the same issue - tag strip was set to "No" but tags were still stripped. Removing numbers from the introtext limit solved the problem. Thanks!

Piotr said:Hey. Make sure not to forget to remove any numbers in the Introtext word limit (Category > Item view options in category listings).

That's a K2 feature to prevent html breaking (K2 would cut the code before closing tags)

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

More
14 years 11 months ago #77485 by yaskyy
Replied by yaskyy on topic HTML stripped from introtext
I have the same problem with html tag strip.
The solution is exact: remove any number for introtext limit under "Item view options in category listings"
(settings for category)
coz u need check first of all:
"Content Cleanup Settings " in global k2 settings:
"Fulltext HTML cleanup (tag strip)" -> NO
thats all :) work perfect

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


Powered by Kunena Forum