Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : xml_fix.pyc
�
��Rac@sJdZddlZed�Zdddd�Zdefd��YZdS(s�Applies a fix to CR LF TAB handling in xml.dom.

Fixes this: http://code.google.com/p/chromium/issues/detail?id=76293
Working around this: http://bugs.python.org/issue5752
TODO(bradnelson): Consider dropping this when we drop XP support.
i����NcCs�|jdd�jdd�}|jdd�jdd�}|ro|jd	d
�jdd�jd
d�}n|j|�dS(sWrites datachars to writer.t&s&amp;t<s&lt;s"s&quot;t>s&gt;s
s&#xD;s
s&#xA;s	s&#x9;N(treplacetwrite(twritertdatat	is_attrib((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyt_Replacement_write_datastc	Cs|j|d|j�|j�}|j�}|j�xF|D]>}|jd|�t|||jdt�|jd�qAW|jr�|jd|�x+|jD] }|j	|||||�q�W|jd||j|f�n|jd|�dS(NRs %s="Rs"s>%ss	%s</%s>%ss/>%s(
RttagNamet_get_attributestkeystsortRtvaluetTruet
childNodestwritexml(	tselfRtindentt	addindenttnewltattrsta_namesta_nametnode((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyt_Replacement_writexmls

	 tXmlFixcBs)eZdZd�Zd�Zd�ZRS(s7Object to manage temporary patching of xml.dom.minidom.cCsLtjjj|_tjjjj|_ttjj_ttjjj_dS(N(	txmltdomtminidomt_write_datat
write_datatElementRRR(R((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyt__init__6scCs@|jr<|jtjj_|jtjjj_d|_ndS(N(R RRRRRR!tNone(R((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pytCleanup>s	cCs|j�dS(N(R$(R((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyt__del__Ds(t__name__t
__module__t__doc__R"R$R%(((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyR3s		(R(txml.dom.minidomRtFalseRRtobjectR(((si/opt/alt/alt-nodejs8/root/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/gyp/pylib/gyp/xml_fix.pyt<module>
s
© 2025 XylotrechusZ