Ticket #1260 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 2 years ago

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

Changed 3 years ago by nicholasbs

  • milestone changed from 0.96 to 0.97

Changed 2 years ago by gogo

  • status changed from new to closed
  • resolution set to wontfix

Xinha should not be expected to preserve source formatting.

Note: See TracTickets for help on using tickets.