@@ -483,6 +483,9 @@ void *lol_html_text_chunk_user_data_get(const lol_html_text_chunk_t *chunk);
483
483
// Returns the tag name of the element.
484
484
lol_html_str_t lol_html_element_tag_name_get (const lol_html_element_t * element );
485
485
486
+ // Returns the tag name of the element, preserving its case.
487
+ lol_html_str_t lol_html_element_tag_name_get_preserve_case (const lol_html_element_t * element );
488
+
486
489
// Sets the tag name of the element.
487
490
//
488
491
// Name should be a valid UTF8-string.
@@ -528,6 +531,9 @@ const lol_html_attribute_t *lol_html_attributes_iterator_next(
528
531
// Returns the attribute name.
529
532
lol_html_str_t lol_html_attribute_name_get (const lol_html_attribute_t * attribute );
530
533
534
+ // Returns the attribute name, preserving its case.
535
+ lol_html_str_t lol_html_attribute_name_get_preserve_case (const lol_html_attribute_t * attribute );
536
+
531
537
// Returns the attribute value.
532
538
lol_html_str_t lol_html_attribute_value_get (const lol_html_attribute_t * attribute );
533
539
@@ -746,6 +752,9 @@ void lol_html_end_tag_remove(lol_html_end_tag_t *end_tag);
746
752
// Returns the end tag name.
747
753
lol_html_str_t lol_html_end_tag_name_get (const lol_html_end_tag_t * end_tag );
748
754
755
+ // Returns the end tag name, preserving its case.
756
+ lol_html_str_t lol_html_end_tag_name_get_preserve_case (const lol_html_end_tag_t * end_tag );
757
+
749
758
// Sets the tag name of the end tag.
750
759
//
751
760
// Name should be a valid UTF8-string.
0 commit comments