Author Topic: Some HTML stripped when Max chars is set to something other than 0  (Read 527 times)

Markstein

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hello,

I was having some issues with the Ajax Scroller stripping some of my html tags (such as div tags in my article) even though I had the strip tags option set to No.

I found that setting Max chars to 0 resolves this for some reason. Perhaps you could document the fact that you need to have Max chars set to "0" if you want to keep all of the html within your article.

Thanks for a great extension!

Mark

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Hi,

I think I answered that few times, also here in forums. But it might not be in documentation. The reason is that HTML would be broken if you would allow for tags like tables and divs and limit characters in the same time. So all tags are allowed only if the whole article is displayed.

Thanks.

Markstein

  • Newbie
  • *
  • Posts: 3
    • View Profile
Hi Saka,

I did a quick search on the forums as I was trying to figure the problem out. I didn't run across anything unfortunately. It would definitely be nice if it was in the documentation.  :)

Mark

P.S. Totally unrelated but did you get my message about the user posting his admin username and password in his post? That definitely needs to be removed for his sake.

EDIT: Nevermind, I just checked and the post is fixed.
« Last Edit: 20 August 2010, 19:43 by Markstein »

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
I will add this detail to documentation and / or parameter info.

Just fixed it. Thanks for reporting it.