(please forgive my poor english)

First of all, thanx a lot for your module !!!

Here is a small contribution to your module (patch encloded) :
my users can input unfiltered HTML (they are all trusted users). As such, they can use tags such as <div>, <table<... These tags present a problem with teasers, as the body can be tuncated inside of one these tags, totally wreaking havoc the frontpage. And not all user know how the magical <!-- BREAK -->...
So I added a small option, which truncate the teaser at some dangerous tags. For example, on my site, teasers are truncated at the first of any of these tags : div, table, script, embed...

Finally, a small remark about the documentation of you module : teasers are not shown only for promoted node. They are also shown when browsing archives...

Alex

CommentFileSizeAuthor
tweaker_patch1.59 KBalex_ost

Comments

acp’s picture

Hi there,

thanks for the patch. I'll take a look into it, actually the idea of being able to "tweak" the teaser function itself is rather very interesting and might be the next step I'll take for this module...

acp