<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" 
	>
<channel>
	<title>
	Comments on: LH Content Converter	</title>
	<atom:link href="https://lhero.org/portfolio/lh-content-converter/feed/" rel="self" type="application/rss+xml" />
	<link>https://lhero.org/portfolio/lh-content-converter/</link>
	<description>Digital Sovereignty for everyone</description>
	<lastBuildDate>Sat, 24 Oct 2026 12:12:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Peter Shaw		</title>
		<link>https://lhero.org/portfolio/lh-content-converter/#comment-1537684</link>

		<dc:creator><![CDATA[Peter Shaw]]></dc:creator>
		<pubDate>Sat, 24 Oct 2026 12:12:28 +0000</pubDate>
		<guid isPermaLink="false">https://lhero.org/?post_type=lh-portfolio&#038;p=148854#comment-1537684</guid>

					<description><![CDATA[Other plugins can now turn parts of Markdown or HTML into their own blocks during a conversion to blocks. A new filter, lh_content_converter_block_handlers, takes handlers that are given the HTML (Markdown is converted to HTML first) and a claim function: a handler swaps each element it claims for the placeholder the claim function returns, and once the conversion library has run, each placeholder is replaced with the handler&#039;s block markup exactly as given. As with code text, the conversion is abandoned rather than returning untrustworthy content if a placeholder cannot be matched exactly once. Claims run before code blocks are protected, so a handler can claim a fenced code block such as a mermaid fence. Every caller of the converter benefits, including create-post, the knowledge base and presentations. LH Mermaid is the first handler.]]></description>
			<content:encoded><![CDATA[<p>Other plugins can now turn parts of Markdown or HTML into their own blocks during a conversion to blocks. A new filter, lh_content_converter_block_handlers, takes handlers that are given the HTML (Markdown is converted to HTML first) and a claim function: a handler swaps each element it claims for the placeholder the claim function returns, and once the conversion library has run, each placeholder is replaced with the handler&#8217;s block markup exactly as given. As with code text, the conversion is abandoned rather than returning untrustworthy content if a placeholder cannot be matched exactly once. Claims run before code blocks are protected, so a handler can claim a fenced code block such as a mermaid fence. Every caller of the converter benefits, including create-post, the knowledge base and presentations. LH Mermaid is the first handler.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Peter Shaw		</title>
		<link>https://lhero.org/portfolio/lh-content-converter/#comment-1537276</link>

		<dc:creator><![CDATA[Peter Shaw]]></dc:creator>
		<pubDate>Tue, 13 Oct 2026 07:14:08 +0000</pubDate>
		<guid isPermaLink="false">https://lhero.org/?post_type=lh-portfolio&#038;p=148854#comment-1537276</guid>

					<description><![CDATA[HTML to Markdown: figures and figure captions now convert as blocks, so a figure&#039;s image no longer runs into the paragraph after it, and a caption sits on the line under its image instead of running into the image and the next paragraph. Lines left holding only whitespace (for example by a map block&#039;s empty script target) are emptied, outside fenced code blocks, so they collapse with other blank lines. Lines with text, including hard-break trailing spaces, are unchanged.]]></description>
			<content:encoded><![CDATA[<p>HTML to Markdown: figures and figure captions now convert as blocks, so a figure&#8217;s image no longer runs into the paragraph after it, and a caption sits on the line under its image instead of running into the image and the next paragraph. Lines left holding only whitespace (for example by a map block&#8217;s empty script target) are emptied, outside fenced code blocks, so they collapse with other blank lines. Lines with text, including hard-break trailing spaces, are unchanged.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
