Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Formatting Input

by akwe-xavante (Novice)
on Jun 14, 2012 at 17:15 UTC ( #976262=note: print w/replies, xml ) Need Help??


in reply to Re^3: Formatting Input
in thread Formatting Input

As far as i can see it is when written back to the browser and into the email. It isn't when printed to the PDF Document though

<p>$Contents</p>

Replies are listed 'Best First'.
Re^5: Formatting Input
by ww (Archbishop) on Jun 14, 2012 at 17:27 UTC
    Unclear, ambiguous, lacking a clear antecedent to both instances of "it." Downvoted for that very serious shortcoming.
Re^5: Formatting Input
by Anonymous Monk on Jun 14, 2012 at 18:47 UTC

    You're wrapping the whole string (several paragraphs) into a single HTML paragraph tag. The grandparent was suggesting that you parse the string for paragraphs and manually insert the necessary paragraph tags.

    Do look at the HTML source your program generates and check that everything is there. You may also want to try white-space: pre; if you want a boring CSS solution (but nothing compares to actually understanding the problem!)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://976262]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2018-06-19 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?