]> git.mdlowis.com Git - proto/labwc.git/commit
common/xml: let LAB_XML_FOR_EACH() skip first child text nodes
authortokyo4j <hrak1529@gmail.com>
Sat, 2 Aug 2025 15:02:02 +0000 (00:02 +0900)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 3 Aug 2025 14:05:53 +0000 (15:05 +0100)
commit5a50d87ee2b2bd009e557ee21a61cee2af4593d5
tree1ca8e8930f56368abb2fa25d39d5494006273c6d
parentb9c84f9c3848eabf55e0acfb670da85075ec2c62
common/xml: let LAB_XML_FOR_EACH() skip first child text nodes

Before this patch, first text nodes like the spaces between <a> and <b>
below were also travered by LAB_XML_FOR_EACH():

  <a>  <b>foo</b></a>
include/common/xml.h