Jump to content
UBot Underground

How to Replace Line Break


Recommended Posts

try using the "$new line" constant :)

 

Do you mean $replace the $new line with <br><br>?

 

If so, I tried it and it didn't work. :P

 

Well, for the meantime, I am redirecting my text to a site that converts text to html and scraping it back until a solution is found...

Link to post
Share on other sites

I want to input my spun articles into a TinyMCE Editor.

 

So I disabled the TinyMCE javascript, and enter the text into the box. However, because the TinyMCE Editor was removed, I need some HTML to keep the article in the right structure.

 

So I need to input <br><br> for line breaks, or the line breaks will disappear without it.

Link to post
Share on other sites

Using $replace is working fine on my end.

 

Example: newline_replace.ubot

 

If this doesn't work for you, it's probably to do with the content you're scraping (maybe it doesn't use a standard newline character? :S) so an example of what you're working with would be helpful in finding a solution.

  • Like 1
Link to post
Share on other sites

Ok. I'm not sure if I coded it wrongly or not. I will have a look at this bot and see if it works for me. I might have done it wrong...

 

Thanks for the help guys! :D

 

Cheers,

Infinity

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...