![]() |
Quotes - Why does it autmoatically remove spaces?
My problem is very simple. Let's say I type the following code:
Quote:
If I press "Preview", it automatically changes the code to this: Quote:
As you can see, it automatically puts the text on one line. This is annoying because some people like to add spaces to make it easier to read. Why is it doing this? Thanks. |
my guess is its unnesessary as it will always be displayed the same way.
|
Quote:
The removal of line breaks is not normal, it shouldnt be stripping the line break away. --------------- Added [DATE]1199998238[/DATE] at [TIME]1199998238[/TIME] --------------- @kiff, is this a custom quote system your using, meaning modified code to display the quote format? |
Quote:
[quote.]blah[/quote.]blah appears as : Quote:
and [quote.]blah[/quote.] blah appears as : Quote:
Same deal right? |
No, if you look at his post, it shows in the 2nd example that its removing the line break after he previews it.
|
Snakes, I'm using this: https://vborg.vbsupport.ru/showthread.php?t=166865
|
I would suggest posting in that thread and asking for support on his custom coding.
|
I did. Lol.
|
I see nothing wrong with the code, i even tested it on my dev site, are you sure you copied his coding correctly?
If he isnt supporting his hack, then that will need to be addressed by vbulletin staff, but it does function fine for me. |
He answered me now, but it was second time posting the question. He said it was working fine for him, so he doesn't know what to do.
But I just realized, it's not just quotes. It's my bbcode in general! Even if I use other tags, it automatically puts it on one line. For example: Quote:
Quote:
|
I just used the test account provided, looks ok to me as well.
What browser are you using? --------------- Added [DATE]1200013664[/DATE] at [TIME]1200013664[/TIME] --------------- ok, i posted a few test post in that same thread and here is what im seeing. If you manually input the quote tag and add a reply under after a line break, click preview post it strips away the line break in the post box, but it preview its correctly, then submit the post, it displays correctly. This may have something to do with your browser your using, im testing it in FF, also tested in IE, altho it dont strip away the line break in the post box, it also appears correctly for my tests. |
I'm using FF. And yes, it shows up correctly in the preview and when you post it. I'm just worried about people getting confused in the post box.
EDIT: And you're right: it only does it if you manually put in the quote tags or wrap it in quotes in the editor. If you click the "Quote" button in the post there's no problem. EDIT2: I just realized there's no problem when I use IE. Curse you FireFox!!! |
All times are GMT. The time now is 01:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|