If I enter something like
/**
* This is a comment
*/
and format with a surrounding <pre></pre> tag, when I preview the page I get
/
This is a comment
/
The asterix characters go missing. I'm loath to send this entry live if it's not looking right in the preview
What can I do to get round this. I am trying to present blocks of program code.
TIA
Editor misformatting certain strings
Re: Editor misformatting certain strings
Is serendipity_markup or another markup-plugin active? If it is active, try to deactivate it wth the serendipity_event_entryproperties-plugin for that entry.
Re: Editor misformatting certain strings
Thanks onli, that sorted it, Pity we have to switch standard functionality off just to do the simple things though. 
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Editor misformatting certain strings
In fact, the markup plugin is there to actually simply-format things for non-savvy users. Posting sourcecode is a bit more advanced and there markup formations always screw up things. So actually the savvy user needs to disable this - sadly we can't anticipate what the user will be using, thus we figured more novice users would need that plugin than not.chippyash wrote:Thanks onli, that sorted it, Pity we have to switch standard functionality off just to do the simple things though.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/