certain code into content box will break SF
Hi!
It seems that if one adds a content block into template (or perhaps just to the page), then goes to edit the block.. and writes something like the following:
<
p
style="width:12px>   </
p
>
01.
<
table
class
=
"rdTable"
>
02.
<
tr
class
=
"rdTop"
>
03.
<
td
class
=
"rdLeft"
> </
td
>
04.
<
td
class
=
"rdCenter"
>
05.
<
div
id
=
"ctl11_C_ctl07_T"
class
=
"rdTitleBar zeControlTitlebar"
>
06.
<
em
>Content block</
em
>
07.
<
ul
class
=
"rdCommands"
>
08.
<
li
>
09.
<
a
title
=
"Edit"
>
10.
<
span
class
=
"rdEditCommand"
> </
span
>
11.
</
a
>
12.
</
li
>
13.
<
li
>
14.
<
a
title
=
"More"
>
15.
<
span
class
=
"rdMoreCommand"
> </
span
>
16.
</
a
>
17.
</
li
>
18.
</
ul
>
19.
</
div
>
20.
</
td
>
21.
<
td
class
=
"rdRight"
> </
td
>
22.
</
tr
>
23.
<
tr
class
=
"rdMiddle"
>
24.
<
td
class
=
"rdLeft"
> </
td
>
25.
<
td
class
=
"rdCenter"
>
26.
<
div
id
=
"ctl11_C_ctl07_C"
class
=
"rdContent"
perm_delete
=
"True"
perm_indexchanged
=
"True"
perm_edit
=
"True"
perm_duplicate
=
"True"
perm_permissions
=
"True"
>
27.
<
div
class
=
"sfContentBlock"
>
28.
<
p
style="display: inline;>
29.
</
p
>
30.
</
div
>
31.
</
div
>
32.
</
td
>
33.
<
td
class
=
"rdRight"
> </
td
>
34.
</
tr
>
35.
<
tr
class
=
"rdBottom"
>
36.
<
td
class
=
"rdLeft"
> </
td
>
37.
<
td
class
=
"rdCenter"
> </
td
>
38.
<
td
class
=
"rdRight"
> </
td
>
39.
</
tr
>
40.
</
table
>
<
p
style="width:12px>
a breaks </
p
>
<
p
style="width:12px> breaks </
p
>
<
p
style="width:12px> breaks </
p
>
<
p
style="width:12px> breaks </
p
>
Hello Lasse,
I managed to reproduce the issue you are reporting. The problem has been logged at our bug tracking system (ID 105361).
When you use ConentBlock and switch from "Html" to "Design", before you clock Save the markup is completed as a valid.
Thanks for your finding!
All the best,
Milena
the Telerik team