Folks, I have a text field, in the SQLFORM, I copy and paste some texts 
from one site to this form for testing (Note, If I type in the texts it 
works fine). I was hoping that MARKMIN can render any html tag. In my view 
I have:

<h4>Roles: {{=MARKMIN(Roles)}}</h4>
<h4>Responsibility: {{=MARKMIN(responsibility)}}</h4>

Results after rendering I get is:


Roles:

<p><span id="TrackingJobBody">Exciting growth opportunity in Chicago, IL 
for an Optical Engineer to join a market leader providing innovative 
solutions using both conventional and solid-state technology. This role is 
responsible to play a prominent role in new product design and R&amp;D 
activities to develop products with integrated optical systems. Candidates 
must have a Bachelor of Science Degree in Physics, Optical Engineering or 
equivalent Engineering discipline with at least (3) three years of work 
experience designing optical systems for a electronics manufacturing 
organization. This is a direct hire role and relocation assistance would be 
provided for the ideal candidate.</span></p>

Responsibility:
<p><span id="TrackingJobBody"> <ul> <li>Bachelor of Science Degree in 
Physics, Optical Engineering or equivalent Engineering discipline</li> 
<li>Must have at least three (3) years' experience designing optical system 
within a manufacturing organization</li> <li>Experience within the 
manufacture of sheet metal, injection molded, and die cast components is 
preferred.</li> <li>Proficient in 3D and 2D CAD software (AutoCAD, 
SolidWorks and/or Pro-E)</li> <li>Design knowledge of primarily non-imaging 
optics, light pipes, color mixing optics and diffusers</li> </ul> 
</span></p>


I tried to do import re and then sub...etc. But that doesn't really work 
right. So, wondering if anything I can in case people want to copy and 
paste texts into form and it will render any html tags. 


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to