ivanfong01 / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Structure field "resource link" adds tags round the link #528

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a structure template
2. create a new "resource link" field
3. create the structure page content to include the new resource link
4. Create a new normal page, containing the structure template
5. Put a value in the resource link field on the new page
6. view the page and look at the html page source.

What is the expected output? What do you see instead?
The contents of the "resource link" field should be raw, but is wrapped in 
<p></p> tags.

Please use labels and text to provide additional information
I'm running version 0.9.8.  
If it makes a difference, the page is set as media wiki syntax

Original issue reported on code.google.com by iain.ked...@gmail.com on 17 Nov 2011 at 12:31

GoogleCodeExporter commented 9 years ago
Usually ckeditor adds <p> please check structure template in row editor.

Original comment by kinyelo@gmail.com on 17 Nov 2011 at 1:12

GoogleCodeExporter commented 9 years ago
Hi,

I just tried a text field, a resource field and a date field.  The all contain 
a newline character then <p> my_data</p>.  My actual output was:
<!-- 
<p>some_text</p> -->
<!-- 
<p>/some_resource</p> -->
<!-- 
<p>30.11.2011</p> -->

Original comment by iain.ked...@gmail.com on 18 Nov 2011 at 12:42

GoogleCodeExporter commented 9 years ago
Works as expected - i.e. without <p>.

Original comment by kinyelo@gmail.com on 24 Dec 2011 at 4:06