Opened 11 years ago

Closed 9 years ago

#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.

Change History (2)

comment:1 Changed 10 years ago by nicholasbs

  • Milestone changed from 0.96 to 0.97

comment:2 Changed 9 years ago by gogo

  • Resolution set to wontfix
  • Status changed from new to closed

Xinha should not be expected to preserve source formatting.

Note: See TracTickets for help on using tickets.