i have a problem: i want to use the teaser break function in combination with htmlawed and cant get it to work.
when i turn off the htmlawed filter, the teaserbreak works properly, once i turn htmlawed on, it stops working.
i tried to add
!--break--
break
to the config (body, teaser, comments, other) but it just doesnt work... can anybody help me with a step by step how to make it work?
thanks!!!!
Comments
Comment #1
drupalok commentedi tried this too:
<!--break-->Comment #2
alpha2zee commentedCan you have the settings such that the htmLawed filter is run the last?
Comment #3
drupalok commentedhi alpha and thanks for your reply
htmlLawed does run last already...
Comment #4
alpha2zee commentedIn the config. for htmLawed, try setting 'comment=>2', so your values looks something like: 'safe'=>1, 'elements'=>'a, em, strong, cite, code, ol, ul, li, dl, dt, dd', 'deny_attribute'=>'id, style', 'comment=>2'
Normally, without the 'comment' parameter and with 'safe'=1, HTML comments are removed from input. The teaser-breaking is based on HTML comments, and this might allow it to work.
Comment #5
alpha2zee commentedI am unable to reproduce this issue (using Drupal 6.20, latest htmLawed module, input format with following filters, in that order: URL generator, line-breaker, htmLawed). I am able to get teasers with the default htmLawed config. Any thoughts?
Comment #6
drupalok commentedthanks alpha for checking... still have my problem, but i will try to find out... maybe i should start from scratch
Comment #7
andyf commented(needs review means there's a patch for review)
Comment #8
alpha2zee commentedCan't replicate the issue with version 2.10 of the module in Drupal 6. Closing issue.
Comment #9
kerasai commentedJust came across this myself, looks like the syntax in #4 was a little off. I used
'comment' => '2'and comments in the markup no longer appeared. Hope that helps someone in the future.