mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 00:18:44 +02:00
New module to parse a simple markup language
2000-10-24 Havoc Pennington <hp@pobox.com> * gmarkup.h, gmarkup.c: New module to parse a simple markup language * Makefile.am: add gmarkup.h, gmarkup.c * tests/Makefile.am: add markup-test * gstring.h (g_string_new_len): new function to create a string with a length (g_string_new): avoid a gratuitous realloc
This commit is contained in:
committed by
Havoc Pennington
parent
7ea09e4589
commit
32ef70d4b2
9
tests/markups/valid-1.gmarkup
Normal file
9
tests/markups/valid-1.gmarkup
Normal file
@@ -0,0 +1,9 @@
|
||||
<!-- Comment -->
|
||||
<?PI ?>
|
||||
<foobar>
|
||||
<e1>Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J</e1>
|
||||
<e2:foo> Text <childfree/> with some <nested>nested elements</nested> and entities "& < >> ' and whitespace </e2:foo>
|
||||
<tag ab="fo<o" bar="foo" baz="blah">This element has attributes</tag>
|
||||
<nochildren a="b" xyz="qrs"/>
|
||||
</foobar>
|
||||
|
Reference in New Issue
Block a user