Cachy breaks HTML when minifying!

Post Reply
rahuldottech
Ssr. Bludit
Posts: 27
Joined: Fri Sep 22, 2017 8:13 pm

Sat Jan 19, 2019 6:18 pm

So, this is what the end of my post normally looks like:

Code: Select all

<p>Usage is as simple as this:</p>
<pre>&lt;?php<br>require 'varDx.php';<br><br>$dx = new \varDx\cDX; //create an object<br>$dx-&gt;def('file.dat'); //define data file<br><br>$val1 = "this is a string";<br><br>$dx-&gt;write('str1', $val1); //writes key to file<br>echo $dx-&gt;read('data1'); //returns key value from file</pre>
<p>It has functions for reading, writing, modifying, checking and deleting data. Get the code from the Github <a title="varDx Github Repo" href="https://github.com/rahuldottech/varDx" target="_blank" rel="noopener">repository</a>, and see the <a title="varDx Documentation" href="https://github.com/rahuldottech/varDx/blob/master/README.md" target="_blank" rel="noopener">README</a> file for more documentation.</p></article>
But when I enable the html minify option, this is what happens:

Code: Select all

<p>Usage is as simple as this:</p><pre>&lt;?php<br>require 'varDx.php';<br><br>$dx = new \varDx\cDX; <p>It has functions for reading, writing, modifying, checking and deleting data. Get the code from the Github <a title="varDx Github Repo" href="https://github.com/rahuldottech/varDx" target="_blank" rel="noopener">repository</a>, and see the <a title="varDx Documentation" href="https://github.com/rahuldottech/varDx/blob/master/README.md" target="_blank" rel="noopener">README</a> file for more documentation.</p></article>
Note that the ending </pre> tag disappears.
User avatar
diego
Site Admin
Posts: 704
Joined: Sat May 16, 2015 2:53 pm
Contact:

Sat Jan 19, 2019 9:02 pm

Hi,
maybe the best option is ask to the developer of Cachy.

https://bitbucket.org/Blackneron/cachy
rahuldottech
Ssr. Bludit
Posts: 27
Joined: Fri Sep 22, 2017 8:13 pm

Wed Jan 23, 2019 1:13 pm

Hey diego, I am unable to reach the developer by email. Do you have an esteblished channel of communication with them or know of alternate means to reach them by?
User avatar
Edi
Site Admin
Posts: 1595
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Wed Jan 23, 2019 8:09 pm

rahuldottech wrote:
Wed Jan 23, 2019 1:13 pm
Hey diego, I am unable to reach the developer by email.
The email address is on the repository page. Doesn't it work?
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
rahuldottech
Ssr. Bludit
Posts: 27
Joined: Fri Sep 22, 2017 8:13 pm

Sun Jan 27, 2019 7:18 pm

Hi Edi, no, my emails get bounced back to me.
User avatar
Edi
Site Admin
Posts: 1595
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Contact:

Mon Jan 28, 2019 9:27 am

Perhaps the contact form works:

https://pb-soft.com/site/contact
Planet Bludit, Tipps, Snippets und nützliche Links. - Newsletter, Informationen zu Bludit (auf Deutsch).
Post Reply