<?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 — Expose list of tags that need a close tag]]></title>
		<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=384</link>
		<atom:link href="http://www.bioinformatics.org/phplabware/forum/extern.php?action=feed&amp;tid=384&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Expose list of tags that need a close tag.]]></description>
		<lastBuildDate>Wed, 09 Aug 2023 10:46:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Expose list of tags that need a close tag]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1024#p1024</link>
			<description><![CDATA[<p>I see your point.&nbsp; Thanks for considering nonetheless.</p>]]></description>
			<author><![CDATA[null@example.com (roelvd)]]></author>
			<pubDate>Wed, 09 Aug 2023 10:46:26 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1024#p1024</guid>
		</item>
		<item>
			<title><![CDATA[Re: Expose list of tags that need a close tag]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1023#p1023</link>
			<description><![CDATA[<p>Thank you for suggesting this. It certainly seems something useful, but I am afraid that implementing this may lead to expectations like defining another set of elements/attributes/rules for some other purpose. I am therefore against the idea. The hook_tag function is for custom functionality and anyone writing such custom code surely has a good understanding of HTML and perhaps doesn&#039;t need this sort of shortcut.</p>]]></description>
			<author><![CDATA[null@example.com (patnaik)]]></author>
			<pubDate>Wed, 09 Aug 2023 06:27:44 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1023#p1023</guid>
		</item>
		<item>
			<title><![CDATA[Expose list of tags that need a close tag]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1022#p1022</link>
			<description><![CDATA[<p>If you want to use `hook_tag` method, you currently have to make a copy of the HTML tags that require a close tag. You can see that being recommended in the docs in https://bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.4.9. </p><p>I think it would be an improvement if that would not be necessary.</p><p>One idea would be to simply expose this as a constant. That way we can simply plug in that constant instead.</p><p>One way to do that would be:</p><p>interface HtmLawedConstants {<br />&nbsp; &nbsp; public const EMPTY_ELEMENTS = [&#039;img&#039;, ..];<br />}</p><p>This would work for both the OPP and function version.</p>]]></description>
			<author><![CDATA[null@example.com (roelvd)]]></author>
			<pubDate>Tue, 08 Aug 2023 09:38:06 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=1022#p1022</guid>
		</item>
	</channel>
</rss>
