| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/html5lib/treebuilders/__pycache__/ |
Upload File : |
�
V=�^�8 � �> � d dl mZmZmZ d dlmZ ddlmZmZm Z dZ
ee� df eee d dfhz � df eee d d fe d d
fhz � df ee d dfe d dfg� df ee d dfe d d
fg� dfd�Z G d� de
� Z G d� de� Z G d� de
� Zy)� )�absolute_import�division�unicode_literals)� text_type� )�scopingElements�tableInsertModeElements�
namespacesNF�html�button�ol�ul�table�optgroup�optionT)Nr �listr �selectc �N � e Zd ZdZd� Zd� Zd� Zd� Zd
d�Zd� Z d � Z
d
� Zd� Zd� Z
y)�NodezRepresents an item in the treec �X � || _ d| _ d| _ i | _ g | _ g | _ y)zRCreates a Node
:arg name: The tag name associated with the node
N)�name�parent�value�
attributes�
childNodes�_flags)�selfr s �</usr/lib/python3/dist-packages/html5lib/treebuilders/base.py�__init__z
Node.__init__ s0 � � �� ������
���� ������ c
�� � dj | j j � D ��cg c]
\ }}|�d|�d��� c}}� }|rd| j �d|�d�S d| j z S c c}}w )N� z="�"�<�>�<%s>)�joinr �itemsr )r r r �
attributesStrs r �__str__zNode.__str__- sd � ����"&�/�/�"7�"7�"9�";�&1�d�E� 26�u�"=� ";� <�
� � $� � �=�9�9��T�Y�Y�'�'��
";s �A'
c � � d| j z S )Nr&