| Summary: | Xmllint fails to format files with filename containing space | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | medin <med.medin.2014> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 21.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/-/commit/bd4b230a914238c12852471e56e2e796ac241b0d | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Xmllint fails to format files with filename containing space | ||
Adding quotes is the correct fix for now, thanks for the investigation. Git commit bd4b230a914238c12852471e56e2e796ac241b0d by Christoph Cullmann. Committed on 30/09/2023 at 19:29. Pushed by cullmann into branch 'master'. workaround for names with spaces M +1 -1 addons/externaltools/externaltools-config/xml_format_full_file https://invent.kde.org/utilities/kate/-/commit/bd4b230a914238c12852471e56e2e796ac241b0d |
Created attachment 144989 [details] Xmllint fails to format files with filename containing space In External Tools configuration page the argument "--format %{Document:FileName}" of command "xmllint" causes failure to format opened files which have space in theirs filenames. I tried enclosing %{Document:FileName} inside "" and it seems to work but I don't know if it's the correct fix :)