By thisisjusthowidoit on
How do i work with double square [[ brackets ]] inside of the <-pre> tags <-/pre> (or any where else).
I just tried to post some Bash script code and anything between double square brackets disappears.
Example:
if [[ $RPOname == '' ]] ; then
exit;
fi
when rendered will turn to:
if ; then
exit;
fi
Adding a space or something between a double bracket will work correctly, but that is not an option for me.
if [ [ $RPOname == '' ]] ; then
exit;
fi
[ and ] (i left out the semi collen) do not work with in the pre tag, they are not rendered to there symbols.
Using Full HTML filter in posting editor.
thanks for any direction.
Comments
I suspect you are running
I suspect you are running into an issue with an input filter. Don't know if it work but in place of
[[I would try\[\[Thank nevets, i did try
Thank nevets, i did try escaping them, but the backslash was rendered also, but... it was an input filter:
Just whent through them all and bing-go, found the problem.
Thanks for pointing me in the right direction.
Im new to Drupal, will have to track down the Module Author and toss up an "issue" post with them.
_
Follow up...
As noted above, this issue was created by the Media Module.
The patch in this issue ticket has fix the issue for me:
_