Joomla Text Editor inserts hyphens into script tags

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Locked
webedge
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Jun 10, 2009 2:26 am

Joomla Text Editor inserts hyphens into script tags

Post by webedge » Wed Jan 19, 2011 4:25 am

I've got a problem with plain text editor in Joomla, happening in both modules and articles.

When trying to insert a script it is automatically inserting two hyphens and breaking the script:

<S-CRIPT LANGUAGE="JavaScript" TYPE="text/j-avascript">

I delete the hyphens, hit apply, and they reappear. Happens in all modules or articles.

Joomla 1.5.22.

webedge
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Jun 10, 2009 2:26 am

Re: Joomla Text Editor inserts hyphens into script tags

Post by webedge » Wed Jan 19, 2011 5:50 am

Installed Sourcerer to see if that fixed the issue. Using [[ instead of < fixed the hyphen in the <S-CRIPT part, but the forward slash seems to be causing issues for text/j-avascript. If I remove the forward slash the hyphen does not get added.

What could be causing this?

wileybob
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Wed Jan 18, 2012 1:27 am

Re: Joomla Text Editor inserts hyphens into script tags

Post by wileybob » Mon Jan 23, 2012 8:13 pm

didja ever get a solution to this? im having the same issue...

webxsposure
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Aug 21, 2008 2:44 am

Re: Joomla Text Editor inserts hyphens into script tags

Post by webxsposure » Wed Nov 28, 2012 3:11 pm

my problem was rsfirewall, the latest version (v46) I have placed a ticket with support and hopefully this will get fixed asap. I uninstalled rsfirewall and everything went back to normal.

archangelweb
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Sep 24, 2010 11:48 pm

Re: Joomla Text Editor inserts hyphens into script tags

Post by archangelweb » Fri Nov 30, 2012 8:11 am

If you have RSFirewall installed, go to Components>RSFirewall!>Firewall Configuration.

Click "Active Scanner" tab.

Make sure "Enable Active Scanner in the /administrator section" is set to NO.

Save.

You will have to go back and re-enter/re-paste the code that was being changed, but following these steps worked for me.

User avatar
Spell
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Sat Jul 12, 2008 5:46 pm

Re: Joomla Text Editor inserts hyphens into script tags

Post by Spell » Tue Sep 03, 2013 6:59 pm

Thanks archangelweb — I had the exact same problem. Specifically, RS Firewall was messing up the code to display the Authorize.Net Verified Merchant Seal. This solved the problem. Much obliged.

User avatar
numinousmedia
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Fri Dec 16, 2011 6:13 pm
Location: Barberton, OH
Contact:

Re: Joomla Text Editor inserts hyphens into script tags

Post by numinousmedia » Thu Jun 09, 2016 3:35 pm

This solved my issue as well, with adding some custom JS to a template. Thanks for that recommendation!
Ryan
Frontend Developer and Joomla Professional
Ethode Website Development: http://www.ethode.com
Personal Site: http://www.numinousmedia.com


Locked

Return to “General Questions/New to Joomla! 1.5”