Opened 13 years ago
Closed 13 years ago
#5193 closed defect (fixed)
Editor: Safari/Webkit line breaks have bogus class
Reported by: | haysmark | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Editor | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
In test_Form, I noticed that in Safari/Webkit?, if you press enter to add a new line Safari appends 'class="webkit-block-placeholder"' to the tag. Example:
<h1>changed</h1> <h1><br class="webkit-block-placeholder" /></h1> <p>This is the changed content set by setValues</p>
Editor should be removing these browser classes from the submit value.
Change History (4)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Owner: | changed from liucougar to alex |
---|---|
Status: | new → assigned |
it does break input to systems like wordpress which try to server-filter the accepted attributes and values.
comment:3 Changed 13 years ago by
Owner: | changed from alex to liucougar |
---|---|
Status: | assigned → new |
steal another one back :)
Note: See
TracTickets for help on using
tickets.
should we really be trying to normalize this content? aren't there lots of cross-browser quirks? and this particular one seems to have no ill effects.