<?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 — Outlook conditional comments corrupted]]></title>
		<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=319</link>
		<atom:link href="https://www.bioinformatics.org/phplabware/forum/extern.php?action=feed&amp;tid=319&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Outlook conditional comments corrupted.]]></description>
		<lastBuildDate>Thu, 06 Jul 2017 03:06:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Outlook conditional comments corrupted]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=899#p899</link>
			<description><![CDATA[<p>Version 1.2.3 with new option value of 4 for &#039;comments&#039; has now been released.</p>]]></description>
			<author><![CDATA[null@example.com (patnaik)]]></author>
			<pubDate>Thu, 06 Jul 2017 03:06:43 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=899#p899</guid>
		</item>
		<item>
			<title><![CDATA[Re: Outlook conditional comments corrupted]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=898#p898</link>
			<description><![CDATA[<p>Thanks, that&#039;s great.</p>]]></description>
			<author><![CDATA[null@example.com (Synchro)]]></author>
			<pubDate>Thu, 22 Jun 2017 17:00:28 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=898#p898</guid>
		</item>
		<item>
			<title><![CDATA[Re: Outlook conditional comments corrupted]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=897#p897</link>
			<description><![CDATA[<p>&gt; keeping these absolutely intact if comments = 3?</p><p>Unfortunately, no... the &#039;comments&#039; parameter affects how htmLawed handles content of comments; htmLawed will still add the extra space in the comment markers.</p><p>I will release a new version with a new option value of &#039;4&#039; for &#039;comments&#039; so that htmLawed leaves comment markers untouched. This may take a few days but the modification is simple:<br /></p><div class="codebox"><pre class="prettyprint"><code> // in function hl_cmtcd, find

if($n == &#039;comment&#039;){
 if(substr(($t = preg_replace(&#039;`--+`&#039;, &#039;-&#039;, substr($t, 4, -3))), -1) != &#039; &#039;){$t .= &#039; &#039;;}
}

// and modify the top line to
if($n == &#039;comment&#039; &amp;&amp; $v &lt; 4){</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (patnaik)]]></author>
			<pubDate>Thu, 22 Jun 2017 16:54:42 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=897#p897</guid>
		</item>
		<item>
			<title><![CDATA[Outlook conditional comments corrupted]]></title>
			<link>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=896#p896</link>
			<description><![CDATA[<p>Hi,</p><p>Running htmlAwed 1.2.2, I&#039;m having trouble with it corrupting outlook conditional comments (http://labs.actionrocket.co/microsoft-outlook-conditional-statements) by adding white space, even though I have comments = 3 set in config.</p><p>Sequences like </p><div class="codebox"><pre class="prettyprint"><code>&lt;![endif]--&gt;</code></pre></div><p> are converted to </p><div class="codebox"><pre class="prettyprint"><code>&lt;![endif] --&gt;</code></pre></div><p>, and </p><div class="codebox"><pre class="prettyprint"><code>&lt;!--[if !mso]&gt;&lt;!--&gt;</code></pre></div><p> to </p><div class="codebox"><pre class="prettyprint"><code>&lt;!--[if !mso]&gt;&lt;! --&gt;</code></pre></div><p>.</p><p>These small changes are enough to break them. I&#039;m working around it by replacing the broken patterns after filtering, but it would be better if it didn&#039;t happen in the first place. Is there some way of keeping these absolutely intact if comments = 3?</p><p>(and yes, these are a disgusting outlookism!)</p>]]></description>
			<author><![CDATA[null@example.com (Synchro)]]></author>
			<pubDate>Wed, 21 Jun 2017 16:42:17 +0000</pubDate>
			<guid>https://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=896#p896</guid>
		</item>
	</channel>
</rss>
