cancel
Showing results for 
Search instead for 
Did you mean: 

<br /><br />

jcianflone
Champ in-the-making
Champ in-the-making
Hello,

&lt;br /&gt;&lt;br /&gt;

this is what alfresco pukes out in between all my paragraphs.  anyone know why and how to stop it?
7 REPLIES 7

jcianflone
Champ in-the-making
Champ in-the-making
So, no one has seen this?  Could it be a config issue.  Do you want to see XSD's XSL, all that stuff??  I really need help with this.

mikeh
Star Contributor
Star Contributor
Hi

I'm guessing you're referring to the output of the TinyMCE form component? This is how <br /> tags must be encoded in order to be output as valid XML.

What do you need the output to be?


Mike

jcianflone
Champ in-the-making
Champ in-the-making
Hi MikeH,
I would like it to not be there.  I haven't put these <br /> tags into my code, they just appear there when I view the HTML.  I can post the XSD, XSL and all that stuff if you need me to.

jcianflone
Champ in-the-making
Champ in-the-making
I think this is an error with the TinyMCE thing.  I had to put this code

<xs:annotation><xs:appinfo><alf:appearance>minimal</alf:appearance></xs:appinfo></xs:annotation>

in my XSD to basically get rid of the WYSISYG editor and now those extra BR tags are gone.  This is OK for now, but I know my client wants to use the editor.  Any ideas what could be going wrong with the editor that it dropping in this code?

nathan
Champ in-the-making
Champ in-the-making
I am having a similar issue. When using the TinyMCE editor to fill in a web form, it looks like the content always has a <br /> tag appended at the end. This then gets encoded as &lt;br /&gt; for XML. Since my project is a web project, the next step uses XSLT to create an HTML file. I really have two issues here:

1. There should not be a <br /> tag at the end of the content. The editor shows no extra lines or white space.
2. The proper encoding of <br /> for XML is also the escape sequence for HTML. Because of this, the web page based on the XML file ends up containing the text "<br />" instead of interpreting it as a line break.

How do you recommend we resolve this?

mikeh
Star Contributor
Star Contributor

nathan
Champ in-the-making
Champ in-the-making
That did the trick. Thanks!
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.