#10340 closed defect (bug) (worksforme)
Unchecked "Automatically add paragraphs." but still auto added paragraphs
Reported by: | zheng1212 | Owned by: | azaozz |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9 |
Component: | Widgets | Keywords: | reporter-feedback widget paragraphs |
Focuses: | Cc: |
Description
Hello, I'm a new to WordPress Trac.
I dragged a text widget to the sidebar, added Google AdSense code, then keep the option "Automatically add paragraphs." unchecked.
But i found that, it continue adding paragraphs to my sidebar.
I tried 2.8 stable version and it still auto add that.
Please see my attachment imgs.
Attachments (2)
Change History (9)
#1
@
15 years ago
- Summary changed from Unchecked "Automatically add paragraphs." but added paragraphs to Unchecked "Automatically add paragraphs." but still auto added paragraphs
#2
follow-up:
↓ 3
@
15 years ago
- Keywords reporter-feedback added
- Priority changed from high to normal
- Severity changed from major to normal
#3
in reply to:
↑ 2
@
15 years ago
Replying to Denis-de-Bernardy:
working fine on my end. please triple check that your theme or other plugins of yours isn't filtering the widget's text.
Thanks. I'm using the theme 'Tarski' and i didn't find out the lines which lets it add a 'p' and 'br' tag.
Can you help me to find out?
#4
@
15 years ago
- Milestone 2.9 deleted
- Resolution set to worksforme
- Status changed from new to closed
yes. disable all plugins, use the default theme. enter this in a text widget:
test1
test2
to me, it ends up like:
test1 test2
i.e. it works.
#5
@
15 years ago
I doubt this is a WordPress problem; it's much more likely to do with the formatting Tarski adds to text widgets, which was added to solve some issues quite some time ago and hasn't been reviewed since. I'm redoing most of the widget-related code for the next version, so this should be fixed in the next week or so. Until then, try Denis' instructions; if they work, try opening the file app/launcher.php in your Tarski installation and comment out the following line:
add_filter('widget_text', 'tarski_content_massage');
working fine on my end. please triple check that your theme or other plugins of yours isn't filtering the widget's text.