Allow inline SVG to be saved
Great work.
I found a bug: If inline SVG is used, it displays fine in the edit console, but when saving and previewing, the SVG element has been removed.
Test code to add to HTML editor:
<svg xmlns="http://www.w3.org/2000/svg">
<line x1="20%" y1="100%" x2="80%" y2="20%" stroke-width="2" stroke="green"/>
</svg>
Also, the code editor re-writes '<line/>' as '<line></line>' but that's probably not a problem.
5
votes
![](https://secure.gravatar.com/avatar/e01541d12a830357d50a6d44cd5d515c?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Tried with the attached snippet and this is now working.
-
Benjamin Cabé commented
+1