cancel
Showing results for 
Search instead for 
Did you mean: 

Ready to shoot myself

jcianflone
Champ in-the-making
Champ in-the-making
OK, I am ready to blow my friggin brains out here.  Why, dear God WHY does alfresco create DIV tags in my content block and use ">" and "<" I dont get it.  I want this turned off and have no idea where to do it.  Anyone know what is going on and how to stop it?!?!
6 REPLIES 6

rdanner
Champ in-the-making
Champ in-the-making
OK, I am ready to blow my friggin brains out here.  Why, dear God WHY does alfresco create DIV tags in my content block and use ">" and "<" I dont get it.  I want this turned off and have no idea where to do it.  Anyone know what is going on and how to stop it?!?!

More context please?  Are you talking about a template?

jcianflone
Champ in-the-making
Champ in-the-making
When I create content, through a web form, every new line, in the TinyMCE editor is throwing <br / > in the space.  I think this is a bug with the TinyMCE and the Alfresco Community Edition.  I saw something in the issues list that leads me to believe that the editor is broken and won't be fixed till version 2.2 comes out.  Also, note, you don't see these br tags in the actual content editing window, they only come out in the rendered HTML and XML files.  Any ideas?

mikeh
Star Contributor
Star Contributor
I think this is the JIRA entry that refers to the problem:
http://issues.alfresco.com/browse/WCM-268

Summary: It seems as though a limitation of Chiba (the xforms serialisation component) doesn't allow nested (non-escaped) markup.

Mitigating factor: most XSLT processors (but not all) support the disable-output-escaping attribute, e.g.
<value-of select="/xmldoc/xhtml" disable-output-escaping="yes"/>
which may help in this situation.

Thanks,
Mike

jcianflone
Champ in-the-making
Champ in-the-making
sweet.  this worked.  thanks for all your help!

mikeh
Star Contributor
Star Contributor
Glad we stopped you shooting yourself!  :wink:

Mike

jcianflone
Champ in-the-making
Champ in-the-making
My wife and (some) coworkers thank you too.   Smiley Very Happy