Closed (won't fix)
Project:
Event
Version:
4.5.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Oct 2004 at 13:57 UTC
Updated:
20 May 2006 at 07:56 UTC
On line 351:
$node->teaser = $output . ($node->teaser ? '<div class="content">'. check_output($node->teaser) .'</div></div>' : '</div>');
$node->body = $output . ($node->body ? '<div class="content">'. check_output($node->body) .'</div></div>' : '</div>');
Should be:
$node->teaser = $output . ($node->teaser ? '<div class="content">'. check_output($node->teaser, $node->format) .'</div></div>' : '</div>');
$node->body = $output . ($node->body ? '<div class="content">'. check_output($node->body, $node->format) .'</div></div>' : '</div>');
Otherwise the event module won't use the input filters the user chose.
Patch should be included. Check it works first :)
| Comment | File | Size | Author |
|---|---|---|---|
| event_input_fix.patch | 779 bytes | arevos |
Comments
Comment #1
Lou Quillio commentedThis patch fixes the input filter bug, but the output ends up wrapped in
.content class is applied twice, which causes some unintended inheritance, imo. For instance, If a theme's font-size for .content is less than 1em, text is rendered very small because it's been styled twice.
Maybe this instead (should be line 361):
I'm assuming that the inner .content div is the extra one; could be wrong about that.
Thanks for the original patch.
LQ
Comment #2
xand commentedI would jsut like to verify that the problem and the last solution both exist and are correct... (for the latest 4.5.2)
Comment #3
neale commentedYes, the second patch (removing the
Comment #4
neale commentedEr, that should have read "removing the div tag".
Comment #5
killes@www.drop.org commentedif somebody wants to commti this patch to the 4.5 branch of the module, he is welcome. I can't be bothered.
Comment #6
alexandreracine commentedActually, someone could event do a .diff file.
Comment #7
alexandreracine commentedI am blind, forget what I said.
Comment #8
killes@www.drop.org commented4.5 is unsupported