Contact form module doesn't produce valid XHTML
Bug #836804 reported by
Kitserve
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pluck CMS |
Fix Committed
|
Low
|
Unassigned |
Bug Description
When a contact form is inserted into a page, it automatically gets wrapped in <p> tags, even if it is put outside of them using the HTML editor. This isn't valid XHTML, see e.g. http://
Related branches
lp:~uranium235/pluck-cms/pluck-cms
- Anders G. Jørgensen: Approve
-
Diff: 72 lines (+14/-10)3 files modifieddata/inc/editpage.php (+8/-7)
data/inc/functions.admin.php (+4/-1)
data/inc/functions.all.php (+2/-2)
To post a comment you must log in.
I am aware of this problem. It also applies to any other module inserted by the module tags, and is caused by TinyMCE wrapping the module tags in <p> tags. I'm not (yet) sure how to fix this problem, so if anyone has any ideas...
Oh, this idea just popped in my mind: we could put the modules in a div, for example <div class=" contactform" >module code here</div>...