vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Quotes - Why does it autmoatically remove spaces? (https://vborg.vbsupport.ru/showthread.php?t=167443)

kiFF 01-10-2008 05:17 PM

Quotes - Why does it autmoatically remove spaces?
 
My problem is very simple. Let's say I type the following code:

Quote:

[quote.]How are you?[/quote.]

I'm fine, thanks!

If I press "Preview", it automatically changes the code to this:

Quote:

[quote.]How are you?[/quote.]I'm fine, thanks!

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.

Blaine0002 01-10-2008 05:54 PM

my guess is its unnesessary as it will always be displayed the same way.

snakes1100 01-10-2008 06:46 PM

Quote:

Originally Posted by Blaine0002 (Post 1419074)
my guess is its unnesessary as it will always be displayed the same way.


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?

Blaine0002 01-10-2008 06:53 PM

Quote:

Originally Posted by snakes1100 (Post 1419110)
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?

but
[quote.]blah[/quote.]blah

appears as :

Quote:

blah
blah


and
[quote.]blah[/quote.]
blah

appears as :

Quote:

blah
blah



Same deal right?

snakes1100 01-10-2008 07:00 PM

No, if you look at his post, it shows in the 2nd example that its removing the line break after he previews it.

kiFF 01-10-2008 07:49 PM

Snakes, I'm using this: https://vborg.vbsupport.ru/showthread.php?t=166865

snakes1100 01-10-2008 07:54 PM

I would suggest posting in that thread and asking for support on his custom coding.

kiFF 01-10-2008 08:00 PM

I did. Lol.

snakes1100 01-10-2008 09:56 PM

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.

kiFF 01-10-2008 10:45 PM

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:

[.code.]Testing[/code.]

Testing
automatically changes to this after I press "preview":
Quote:

[.code.]Testing[/code.]Testing
So it must have something to do with editing interface in general. Any ideas?


All times are GMT. The time now is 03:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01028 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete