<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cmark/src/xml.c, branch master</title>
<subtitle>My own fork of cmark for commonmark conversion</subtitle>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/'/>
<entry>
<title>Add MAX_INDENT for xml.</title>
<updated>2020-08-23T17:58:08+00:00</updated>
<author>
<name>John MacFarlane</name>
<email>jgm@berkeley.edu</email>
</author>
<published>2020-08-23T17:58:08+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=cef66d42f91d934ce8bd058cd7c76b87f78628a7'/>
<id>cef66d42f91d934ce8bd058cd7c76b87f78628a7</id>
<content type='text'>
Otherwise we can get quadratic increase in size with deeply
nested structures.

See #355.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise we can get quadratic increase in size with deeply
nested structures.

See #355.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of empty strings when creating XML/HTML output.</title>
<updated>2020-06-24T16:59:43+00:00</updated>
<author>
<name>Steffen Kieß</name>
<email>kiess@ki4.de</email>
</author>
<published>2020-06-24T15:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=c0b9c3125abab6081e0b54140900718c9b7a18d3'/>
<id>c0b9c3125abab6081e0b54140900718c9b7a18d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rearrange struct cmark_node</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-19T12:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=f3f50b29d615d2678d8047dc277b108cc5143167'/>
<id>f3f50b29d615d2678d8047dc277b108cc5143167</id>
<content type='text'>
Introduce multi-purpose data/len members in struct cmark_node. This
is mainly used to store literal text for inlines, code and HTML blocks.

Move the content strbuf for blocks from cmark_node to cmark_parser.
When finalizing nodes that allow inlines (paragraphs and headings),
detach the strbuf and store the block content in the node's data/len
members. Free the block content after processing inlines.

Reduces size of struct cmark_node by 8 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce multi-purpose data/len members in struct cmark_node. This
is mainly used to store literal text for inlines, code and HTML blocks.

Move the content strbuf for blocks from cmark_node to cmark_parser.
When finalizing nodes that allow inlines (paragraphs and headings),
detach the strbuf and store the block content in the node's data/len
members. Free the block content after processing inlines.

Reduces size of struct cmark_node by 8 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use C string instead of chunk for custom block contents</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T22:37:32+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=75b48c5938f5984dbcf79a579d15c9cbd6447d12'/>
<id>75b48c5938f5984dbcf79a579d15c9cbd6447d12</id>
<content type='text'>
Reduces size of struct cmark_node by 8 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduces size of struct cmark_node by 8 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use C string instead of chunk for link URL and title</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T22:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=b237924585e61532ada774bf9e70eadff00666dc'/>
<id>b237924585e61532ada774bf9e70eadff00666dc</id>
<content type='text'>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. This introduces a few additional strlen computations,
but overhead should be low.

Allows to reduce size of struct cmark_node later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. This introduces a few additional strlen computations,
but overhead should be low.

Allows to reduce size of struct cmark_node later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use C string instead of chunk for code info and literal</title>
<updated>2020-01-23T16:25:54+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2020-01-18T21:27:13+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=3acbdf0965859c55fa36c65a4c0e17e92012687c'/>
<id>3acbdf0965859c55fa36c65a4c0e17e92012687c</id>
<content type='text'>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. The length of code literals will be readded in a later
commit. strlen overhead for code info should be negligible.

Reduces size of struct cmark_node by 8 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use zero-terminated C strings instead of cmark_chunks without storing
the length. The length of code literals will be readded in a later
commit. strlen overhead for code info should be negligible.

Reduces size of struct cmark_node by 8 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add xml:space="preserve" in XML output when appropriate</title>
<updated>2018-07-07T17:30:34+00:00</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2017-08-01T12:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=55afc6fd496de4e75c27d725c2bf1470cc3cf5aa'/>
<id>55afc6fd496de4e75c27d725c2bf1470cc3cf5aa</id>
<content type='text'>
With current HTML escaping, sometimes we may produce an XML tag like

    &lt;code_block&gt;  &lt;/code_block&gt;

Many XML parsers consider these spaces insignificant and strip them
out but we need this. There's actually a test case like this in
spec.txt (search "A code block can have all empty lines as its
content:") and without proper hinting, an external xml-&gt;html converter
will fail the spec.

XML standard covers this case. If xml:space is "preserve", then
whitespaces are significant and should be kept. Add this hint for
text, code, code_block, html_inline and html_block tags.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With current HTML escaping, sometimes we may produce an XML tag like

    &lt;code_block&gt;  &lt;/code_block&gt;

Many XML parsers consider these spaces insignificant and strip them
out but we need this. There's actually a test case like this in
spec.txt (search "A code block can have all empty lines as its
content:") and without proper hinting, an external xml-&gt;html converter
will fail the spec.

XML standard covers this case. If xml:space is "preserve", then
whitespaces are significant and should be kept. Add this hint for
text, code, code_block, html_inline and html_block tags.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmark: Implement support for custom allocators</title>
<updated>2016-06-06T22:39:05+00:00</updated>
<author>
<name>Vicent Marti</name>
<email>tanoku@gmail.com</email>
</author>
<published>2016-05-27T14:55:16+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=25429c96f6554ffac415f9d865934b1183f3398e'/>
<id>25429c96f6554ffac415f9d865934b1183f3398e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use variable length arrays</title>
<updated>2016-03-12T10:51:31+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2016-03-12T10:29:55+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=6135e9b953747365358f7f2e23e53cc0e4a701b2'/>
<id>6135e9b953747365358f7f2e23e53cc0e4a701b2</id>
<content type='text'>
They're not supported by MSVC.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They're not supported by MSVC.
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from "inline" to "CMARK_INLINE"</title>
<updated>2016-03-12T10:13:14+00:00</updated>
<author>
<name>Nick Wellnhofer</name>
<email>wellnhofer@aevum.de</email>
</author>
<published>2016-03-12T10:13:14+00:00</published>
<link rel='alternate' type='text/html' href='http://ns2.complex-networks.net/cmark/commit/?id=0e216b4044f1cbbf30df4e378d51d91a0267e680'/>
<id>0e216b4044f1cbbf30df4e378d51d91a0267e680</id>
<content type='text'>
Newer MSVC versions support enough of C99 to be able to compile cmark
in plain C mode. Only the "inline" keyword is still unsupported.
We have to use "__inline" instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Newer MSVC versions support enough of C99 to be able to compile cmark
in plain C mode. Only the "inline" keyword is still unsupported.
We have to use "__inline" instead.
</pre>
</div>
</content>
</entry>
</feed>
