Opened 9 years ago

Closed 9 years ago

#6685 closed Bug (invalid)

config.ProtectedSource not working in <TABLE>...</TABLE>

Reported by: fournaise Owned by:
Priority: Normal Milestone:
Component: General Version: 3.4.2
Keywords: Cc:

Description

When you enter in source view the following code:

<table>
{if $a==1}
	<tbody>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
{/if}
</table>

and go back to wysiwyg mode, the content becomes:

{if $a==1}{/if}
<table>
	<tbody>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

My config file contains this setting: config.protectedSource = {[\s\S*;

The initial source code is not preserved.

Change History (1)

comment:1 Changed 9 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

It's just not possible to do that, you have to protect the whole table.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy