commit 675ee7f443169564dc6786ed53a70e6bbaa085f0 parent b4510955d828e1392d43163149b548408a955f8b Author: Robin <kroekerrobin@gmail.com> Date: Thu, 14 Sep 2023 21:36:33 +0200 Init all struct tag attrs Diffstat:
| M | html.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/html.c b/html.c @@ -44,6 +44,10 @@ struct tag *initTag() t->childrenLen = 0; t->_isVoidElement = false; t->_isClosed = false; + t->_outerHtmlBeginOffset = 0; + t->_outerHtmlEndOffset = 0; + t->_innerHtmlBeginOffset = 0; + t->_innerHtmlEndOffset = 0; return t; }