alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 136 forks source link

Does not work with svg? #93

Closed darkstarx closed 7 years ago

darkstarx commented 8 years ago

<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg xmlns:i="&ns_ai;" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" id="Режим_изоляции" x="0px" y="0px" viewBox="0 0 84.511647 127.3" xml:space="preserve" inkscape:version="0.91 r13725" sodipodi:docname="logo.svg" width="84.51165" height="127.3">

rdf:RDF /cc:Work /rdf:RDF

Ctrl+k Ctrl+f

Result: Invalid XML: not well-formatted (invalid token) line:19col:67 snapshot-2

markskayff commented 7 years ago

Same here for me.

alek-sys commented 7 years ago

Fixed by a4b25ef0931f113b85b73fe5003a53839053736c