mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-09-14 04:35:35 -05:00
escape quotes
This commit is contained in:
@@ -203,8 +203,8 @@ def open_header(card_xml_file: IO[Any]) -> None:
|
||||
:param card_xml_file: Card file path
|
||||
"""
|
||||
card_xml_file.write(
|
||||
"<?xml version="1.0" encoding="UTF-8"?>\n"
|
||||
+ "<cockatrice_carddatabase version='4' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v3/cards.xsd">\n"
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||
+ "<cockatrice_carddatabase version=\"4\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"https://raw.githubusercontent.com/Cockatrice/Cockatrice/master/doc/carddatabase_v3/cards.xsd\">\n"
|
||||
+ " <!--\n"
|
||||
+ " THIS FILE IS AUTOMATICALLY GENERATED & ALL EDITS WILL BE OVERRIDDEN.\n"
|
||||
+ " -->\n"
|
||||
|
||||
Reference in New Issue
Block a user