Revize c42e15d3
Přidáno uživatelem Vojtěch Bartička před téměř 3 roky(ů)
Backend/Core/Services/HTMLService/HTMLService.cs | ||
---|---|---|
131 | 131 |
sanitizer.AllowedAttributes.Add("start"); |
132 | 132 |
sanitizer.AllowedAttributes.Add("class"); |
133 | 133 |
sanitizer.AllowedAttributes.Add("target"); |
134 |
sanitizer.AllowedAttributes.Add("id"); |
|
134 | 135 |
if (sanitizer.AllowedTags.Contains("script")) |
135 | 136 |
{ |
136 | 137 |
sanitizer.AllowedTags.Remove("script"); |
... | ... | |
267 | 268 |
span.AddClass("annotation"); |
268 | 269 |
span.Attributes.Add(TAG_INSTANCE_ATTRIBUTE_NAME, instanceId.Value.ToString()); |
269 | 270 |
span.Attributes.Add(TAG_EF_ID_ATTRIBUTE_NAME, entityId.ToString()); |
271 |
span.Attributes.Add("id", entityId.ToString()); |
|
270 | 272 |
|
271 | 273 |
if (position == EPosition.MARK_LEFT || position == EPosition.MARK_LEFT_RIGHT) |
272 | 274 |
{ |
Také k dispozici: Unified diff
Added EF TAG ID as id attribute