@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/portfolio/lh-content-converter/>
  a sioc:Post ;
  dc:title "Markdown lists" ;
  dcterms:identifier 154881 ;
  dc:modified "2026-11-17T10:18:25Z"^^xsd:dateTime ;
  dc:created "2026-11-17T10:18:25Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-content-converter/markdown-lists/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Part of:</strong> <a href="https://lhero.org/portfolio/lh-content-converter/">LH Content Converter</a></li></ul>
<p class="wp-block-paragraph">A Markdown list always converts to a list block, whatever links its items hold. The conversion library recognises a list whose links all point at social or email services as a row of social icons, and makes it a Social Icons block holding only the links, so the rest of each item&#8217;s text would be lost. A list of email contacts such as <code>- 16 Nov: replied &lt;info&#64;example.org&gt;</code> was the case that showed it.</p>



<p class="wp-block-paragraph">So for Markdown, the plugin hides the addresses of links inside lists from the library while it runs and puts them back afterwards. Only <code>http</code>, <code>https</code> and <code>mailto</code> links are hidden, so the library still drops unsafe links as before. If a hidden link can&#8217;t be matched up exactly once afterwards, the conversion fails with the <code>lh_content_converter_link_restore_failed</code> error rather than return content that can&#8217;t be trusted.</p>



<p class="wp-block-paragraph">HTML input is left to the library, so a list of social links written in HTML can still become Social Icons.</p>
"""^^rdf:XMLLiteral ;
  sioc:content """Part of: LH Content Converter
A Markdown list always converts to a list block, whatever links its items hold. The conversion library recognises a list whose links all point at social or email services as a row of social icons, and makes it a Social Icons block holding only the links, so the rest of each item&#8217;s text would be lost. A list of email contacts such as - 16 Nov: replied &lt;info&#64;example.org&gt; was the case that showed it.



So for Markdown, the plugin hides the addresses of links inside lists from the library while it runs and puts them back afterwards. Only http, https and mailto links are hidden, so the library still drops unsafe links as before. If a hidden link can&#8217;t be matched up exactly once afterwards, the conversion fails with the lh_content_converter_link_restore_failed error rather than return content that can&#8217;t be trusted.



HTML input is left to the library, so a list of social links written in HTML can still become Social Icons.
""" ;
  sioc:topic <https://lhero.org/?taxonomy=author&term=cap-1> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
