Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hoijui
Copy link
Contributor

@hoijui hoijui commented Jun 13, 2021

The special first-line in XML file needs to remain first line, else, the file becomes invalid regarding in the XML spec, and most editors will not recognize the file.
This PR uses the same technique used for shebangs, to protect the first lien in XML files.

This solves #230 (barely).

@nicorikken
Copy link
Member

Clever reuse of the existing code.

@mxmehl
Copy link
Member

mxmehl commented Jun 15, 2021

That looks like a more generally usable and extensible solution, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants