News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

HTML Tagsare being removed when i save - [Fixed in 4.0.36]

Started by josh, 16.10.2023 21:11:02

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

josh

Hi

Suspect just a setting.

I been testing, when i add html tags in the CODE tab to the donwloads description page, then switch to the EDITOR tab, It displays fine.
However when I save, all the HTML TAGS have vanished.

This is Joomla 5 RC2  and latest JDOWNLOADS 4.0.35

Its not the chosen editors, as i can add HTML tags into an article.

Hoping its just a setting
  •  

Arno

Hi,
as I have noted in the jDownloads description:
Quote*) Please note that Joomla 5 is not yet a final version and the functionality of jDownloads could not yet be tested in all areas of Joomla 5. If you have problems, please activate the compatibility plugin of Joomla 5.

What do you mean with 'CODE tab'? Could you upload a screenshot?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

josh

In JCE you have CODE, EDITOR, PREVIEW tabs
if i add the html tags, any tags it does not matter. in the code windows.
then click to editor view, it previews it correctly.
when i save the download, all the tags have been removed.
I i do thesame in an article, all is fine,
So it would suggest that jdownloads is filtering out when saving.

If i create a simple article with tables, images etc.
then click the code tab, copy all te html code generated, ten paste this in the jdownload long description, it appears fine until i save, then all the html is removed.

So its not just aseting then..

  •  

Arno

Okay, thanks. I will check this tomorrow.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

josh

#4
if in code i put

<table style="background-color: #232c48;">
<tbody>
<tr>
<td>&nbsp;<img src="images/64bit_round_small.png" alt="64bit round small" /></td>
<td><span style="color: #ffff00; font-size: 36pt;">&nbsp;JUST SOME TEXT</span></td>
</tr>
<tr>
<td><span style="color: #ffff00; font-size: 24pt;">&nbsp;AND SOME MORE TEXT</span></td>
<td>&nbsp;<img src="images/banners/banner.jpg" alt="banner" width="1140" height="600" /></td>
</tr>
</tbody>
</table>


it displays fine
when i save it reduces it to

<p>&nbsp; &nbsp;JUST SOME TEXT &nbsp;AND SOME MORE TEXT &nbsp;</p>


Just checkd,
same behaviour with tinymce
  •  

Arno

Hi,
sorry for this small error. It happened to me in the last version.  ::)
Please copy the attached file into the folder administrator/components/com_jdownloads/forms/
and overwrite the old file version.

I will publish in the next days an update with this fix.

Edit:
It now takes over the setting of the global Joomla text filter (global configuration) again.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

josh

Hi

Dowmloaded and applied.

Just tested, all seems to be fine now. :) :)

Thanks.
  •