WebGUI
      Click here to register.
      
View Cart (0)
PBWG Banner

View All Tickets
Wrong assignment of description.first.paragraph?  (#3767)
Issue

When writing an article preview template I discovered the following:

Content of the template variable description.first.paragraph in articles seems odd. According to documentation it returns all the content until the first carriage return. And that is exactly what it does. HTML structure is completely ignored. It has happened to me that the variable was empty since after copying of some text into the editor window html code started with a carriage return.

The variable should probably rather contain the first paragraph as marked by <p></p> or at least all text until the first <br/> !? Ideally, tags would also be stripped, such that a "read more" link can be appended in the same line and not only the next paragraph.

Maybe this is rather an RFE. I can put it there if you disagree that this is a bug.

Solution Summary
Comments
Graham
0
5/7/2008 2:44 am

While you are correct that it would be more useful to use the HTML structure, this is working as it was designed.  This would be more appropriate as an RFE.

Details
Ticket Status Closed  
Rating0.0 
Submitted Byspunky 
Date Submitted2008-04-29 
Assigned To unassigned  
Date Assigned2008-10-10 
Assigned By 
Severity Minor (annoying, but not harmful)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.4.32  
URLbugs/tracker/wrong-assignment-of-description_first_paragraph
Keywords
Ticket History