Opened 15 years ago
Closed 15 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> </td>
<td> </td>
</tr>
</tbody>
{/if}
</table>
and go back to wysiwyg mode, the content becomes:
{if $a==1}{/if}
<table>
<tbody>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
My config file contains this setting: config.protectedSource = {[\s\S*;
The initial source code is not preserved.

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