HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Do the new line breaks have to stay?
I realize that, in general, it's a good idea for line breaks to be correctly interpreted as BR tags. Unfortunately, that's not how it has worked for years, so there are hundreds—hell, probably thousands—of posts that have been hard-coded with BR tags to achieve the desired effect. As a result of the recent change in the… -
Re: Do the new line breaks have to stay?
-
Re: Do the new line breaks have to stay?
You mean ask the client's IT guy to drop everything so he can figure out how to do that and then do it and then wait while I go through hundreds or thousands of posts (assuming I can search the database for posts containing BR tags) and analyze every single BR tag to determine whether it's needed and remove the ones that… -
Re: Do the new line breaks have to stay?
-
Re: Do the new line breaks have to stay?
-
Re: Do the new line breaks have to stay?
-
Re: Do the new line breaks have to stay?
Excuse me for posting on this old thread. In February 2015, @Linc stated: If you want to make it so that <br />\n parses as a single soft break, I'd accept that pull request. Was this fix to the parser implemented? I'm asking because I'm upgrading a Vanilla forum, that has been running 2.1.8p2, for 4+ years. (Sorry about… -
Re: Do the new line breaks have to stay?
Yeah you could add some CSS somewhere in your theme that looks like like the following: .userContent div > br { display: none; } That would hide the br tags. From there you could applying the spacing of your choice to the divs. I’m on a mobile device right now so I’ll try to dig into this more tomorrow. -
Re: Do the new line breaks have to stay?
Excuse me for posting on this old thread. In February 2015, @Linc stated: If you want to make it so that <br />\n parses as a single soft break, I'd accept that pull request. Was this fix to the parser implemented? I'm asking because I'm upgrading a Vanilla forum, that has been running 2.1.8p2, for 4+ years. (Sorry about… -
Re: Do the new line breaks have to stay?
Thanks for taking time to craft such a thorough response, @Bleistivt! I appreciate it. I don't know what version the client is running, but they do tend to like life on The Cutting Edge. :) I think a toggle would be great. I "get" the logic behind this change (I'm always editing formatted posts that got glommed into a…
12 results