
ioko
New User
Aug 11, 2005, 7:01 AM
Post #1 of 7
(3967 views)
Shortcut
|
|
Line break characters?
|
Can't Post
|
|
Hi I am trying to automatically submit a number of articles through the article submission form, using Perl, i.e. simulating an actual user submitting an article through the form. However, I am having trouble with line breaks/end of lines. In the Perl script, if I set all the end of lines in the article to '\n' or '\r\n' or '\r', and use the resulting article as the value for the article text field, the paragraphs aren't recognized, and the whole article ends up as one solid paragraph. I've tried changing it to using an HTML line break, like '<BR>', but that just results in the HTML tag showing in the published article on the web page, rather than resulting in a proper line break in the article (i.e. within the HTML source instead). Any ideas? Thanks.
|