mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-21 04:58:24 -05:00
Detect XML data starting with a declaration
Checking for "<?xml" at the beginning of a text is a quick and simple test that will detect most of the XML cases. This fills an obvious gap in #1537.
This commit is contained in:
+2
-1
@@ -74,7 +74,8 @@ private:
|
||||
Null,
|
||||
Text,
|
||||
JSON,
|
||||
SVG
|
||||
SVG,
|
||||
XML
|
||||
};
|
||||
|
||||
// Edit modes and editor stack (this must be aligned with the UI)
|
||||
|
||||
Reference in New Issue
Block a user