Ticket #1260 (closed enhancement: wontfix)
image map html code layout is "destroyed" when toggling wysiwyg/source view
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.97 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | |
| Cc: | mmair@… |
Description
Specifying a map like
<map name="Map" id="Map">
<area href="1" coords="5,168,127,205" shape="rect"></area> <area href="2" coords="6,56,128,93" shape="rect"></area> <area href="3" coords="6,113,128,150" shape="rect"></area> <area href="4" coords="7,3,129,40" shape="rect"></area>
</map>
in source view and toggling between wysiwyg and source view puts the whole map definition into a single row, like
<map name="Map" id="Map"><area href="1" coords="5,168,127,205" shape="rect" /><area href="2" coords="6,56,128,93" shape="rect" /><area href="3" coords="6,113,128,150" shape="rect" /><area href="4" coords="7,3,129,40" shape="rect" /></map>
Possible solution (?):
- add map and area tags to Xinha._blockTags
I tried this and it seems that the code layout then remains when toggling the view.
