- Posts: 13
- Thank you received: 0
New version inserts tag in campaign text
- Martin Boire
- Topic Author
- Offline
- New Member
Less
More
13 years 4 months ago - 13 years 4 months ago #6138
by Martin Boire
New version inserts tag in campaign text was created by Martin Boire
I just installed the new version of jdonate and I discovered that in the donation page description each line has a <br /> tag added to the HTML code.
Seems to me that the text area is set to parse plain text and not HTML, but I don't see way the new version would have to go back in features rather than forward.
is there a fix for that? Maybe a new option somewhere?
Edit: I have eliminated any /n newlines in the HTML, but the <br> tags are still showing up in the page. That's a bit weird. Where is this coming from?
Seems to me that the text area is set to parse plain text and not HTML, but I don't see way the new version would have to go back in features rather than forward.
is there a fix for that? Maybe a new option somewhere?
Edit: I have eliminated any /n newlines in the HTML, but the <br> tags are still showing up in the page. That's a bit weird. Where is this coming from?
Last edit: 13 years 4 months ago by Martin Boire.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
13 years 4 months ago #6189
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: New version inserts tag in campaign text
Hi
You can fix this issue by opening the file components/com_jdonation/helper.php, look at line 24 , change it from :
to :
The fix is applied to latest download package on server , so you can simply download latest version and update to your site .
Thanks,
Tuan
You can fix this issue by opening the file components/com_jdonation/helper.php, look at line 24 , change it from :
Code:
function getConfig($nl2br = true) {
to :
Code:
function getConfig($nl2br = false) {
The fix is applied to latest download package on server , so you can simply download latest version and update to your site .
Thanks,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.