<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PHP Labware forum — htmLawed stripping web component elements]]></title>
		<link>https://bioinformatics.org/phplabware/forum/viewtopic.php?id=355</link>
		<atom:link href="https://www.bioinformatics.org/phplabware/forum/extern.php?action=feed&amp;tid=355&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in htmLawed stripping web component elements.]]></description>
		<lastBuildDate>Mon, 11 Apr 2022 01:58:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: htmLawed stripping web component elements]]></title>
			<link>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=974#p974</link>
			<description><![CDATA[<p>The new version of htmLawed, 1.2.7 of 10 April 2022, fixes this issue.</p>]]></description>
			<author><![CDATA[null@example.com (patnaik)]]></author>
			<pubDate>Mon, 11 Apr 2022 01:58:08 +0000</pubDate>
			<guid>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=974#p974</guid>
		</item>
		<item>
			<title><![CDATA[Re: htmLawed stripping web component elements]]></title>
			<link>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=971#p971</link>
			<description><![CDATA[<p>Thanks for the information! Very helpful.</p>]]></description>
			<author><![CDATA[null@example.com (afayland)]]></author>
			<pubDate>Mon, 31 Jan 2022 19:36:33 +0000</pubDate>
			<guid>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=971#p971</guid>
		</item>
		<item>
			<title><![CDATA[Re: htmLawed stripping web component elements]]></title>
			<link>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=970#p970</link>
			<description><![CDATA[<p>There is a way to allow non-standard HTML tags/elements to get through the htmLawed filter. See the second half of <a href="http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.3">this section</a> of the docs. Basically, you use <em>$config[&#039;elements&#039;] =&gt; &#039;* + rhtable&#039;</em> and set <em>$config[&#039;balance&#039;]</em> to <em>0</em>.</p><p>This method has a drawback that tag balancing &amp; nesting check has to be turned off (see <a href="http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.3.3">docs</a>).</p><p>Another drawback, which is seen with <em>rh-table</em> is that the non-standard element&#039;s name cannot have a hyphen character.</p><p>htmLawed doesn&#039;t support <em>custom elements</em>, which now are a part of the WHATWG HTML standard (Web Components). I will have to modify and issue a new release to add support for such elements. That should take care of your issue. Hopefully, I will be able to release within a few days.</p><p>In the meantime, you can consider <a href="http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.9">this suggestion</a>.</p>]]></description>
			<author><![CDATA[null@example.com (patnaik)]]></author>
			<pubDate>Mon, 31 Jan 2022 19:10:45 +0000</pubDate>
			<guid>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=970#p970</guid>
		</item>
		<item>
			<title><![CDATA[htmLawed stripping web component elements]]></title>
			<link>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=969#p969</link>
			<description><![CDATA[<p>Hello all. I&#039;m running into an issue where htmLawed is stripping out the &lt;rh-table&gt; elements we are attempting to wrap around tables (via CKEditor in D9). I&#039;ve looked into the documentation and tried to add &lt;rh-table&gt; to the list of allowed elements via htmLawed&#039;s config. However, it seems that it won&#039;t allow new elements that aren&#039;t included in its default 118 elements.</p><p>Is it possible to get htmLawed to allow &lt;rh-table&gt;?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (afayland)]]></author>
			<pubDate>Mon, 31 Jan 2022 18:38:37 +0000</pubDate>
			<guid>https://bioinformatics.org/phplabware/forum/viewtopic.php?pid=969#p969</guid>
		</item>
	</channel>
</rss>
