1. Due to issues with external spam filters, QQ is currently unable to send any mail to Microsoft E-mail addresses. This includes any account at live.com, hotmail.com or msn.com. Signing up to the forum with one of these addresses will result in your verification E-mail never arriving. For best results, please use a different E-mail provider for your QQ address.
    Dismiss Notice
  2. For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
    Dismiss Notice
  3. Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
    Dismiss Notice
  4. If you wish to change your username, please ask via conversation to tehelgee instead of asking via my profile. I'd like to not clutter it up with such requests.
    Dismiss Notice
  5. Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
    Dismiss Notice
  6. A note about the current Ukraine situation: Discussion of it is still prohibited as per Rule 8
    Dismiss Notice
  7. The rules regarding NSFW links have been updated. See here for details.
    Dismiss Notice
  8. The testbed for the QQ XF2 transition is now publicly available. Please see more information here.
    Dismiss Notice

[ code ] not actually preserving spaces?

Discussion in 'Suggestions & Bugs' started by bluepencil, Oct 3, 2022.

  1. bluepencil

    bluepencil Gas monies plz

    Joined:
    Feb 19, 2013
    Messages:
    711
    Likes Received:
    11,287
    In reference to [ code ] [ /code ] pasted from BattleTech java designers like Solaris Skunk Werks and MegaMekLab, as evidenced here. This works on SB, but not here. It just strips out spacing and clumps words together like normal forum input text.


    [edit]
    Testing spacing with normal text.
    There should be a wide space above between (with) and (normal text).

    Code:
    Testing spacing with											  code text.
    
    There should be a wide space above between (with) and (normal text).

    So it works with input text, but not pasted text.

    [edit again]
    Code:
    Testing spacing with pasted text.
    ================================================================================
    Equipment Location Heat Critical Mass
    --------------------------------------------------------------------------------
    PPC RA 10 3 7.00
    
    Never mind, I figured it out. QQ automatically strips spacing out of pasted text as soon as it drops into the text box.

    This is... suboptimal. I need to figure out how to make QQ text boxes accept formatted text.
     
    Last edited: Oct 3, 2022
    wasprider and Im_just_a_Reader like this.
  2. Repentant_Dragos

    Repentant_Dragos Versed in the lewd.

    Joined:
    May 12, 2020
    Messages:
    1,589
    Likes Received:
    2,797
    Posting the text in a Gdoc first, then pasting it again (not as plain text!) does it for me...
     
    wasprider and bluepencil like this.
  3. bluepencil

    bluepencil Gas monies plz

    Joined:
    Feb 19, 2013
    Messages:
    711
    Likes Received:
    11,287
    Testing:

    Code:
    Urbanhammer UR-HMR
    ================================================================================
    Equipment								 Location	Heat	Critical	Mass
    --------------------------------------------------------------------------------
    PPC										  RA		10		3		 7.00
    PPC										  LA		10		3		 7.00
    Machine Gun								  RT		0		 1		 0.50
    Small Laser								  RT		1		 1		 0.50
    Medium Laser								 RT		3		 1		 1.00
    SRM-6										RT		4		 2		 3.00
    Machine Gun								  LT		0		 1		 0.50
    Small Laser								  LT		1		 1		 0.50
    Medium Laser								 LT		3		 1		 1.00
    @SRM-6 (15)								  RT		-		 1		 1.00
    @MG (200)									CT		-		 1		 1.00
    											Free Critical Slots: 3
     
    BattleForce Statistics
    MV	  S (+0)  M (+2)  L (+4)  E (+6)   Wt.   Ov   Armor:	  7	Points: 15
    4		  5	   4	   2	   0	  3	 0   Structure:  6
    Special Abilities: CASEII, SRCH, ES, SEAL, SOA
    
    Awesome. Thank you!

    Still not a clean copy but much better than before.
     
    wasprider and Repentant_Dragos like this.
  4. Repentant_Dragos

    Repentant_Dragos Versed in the lewd.

    Joined:
    May 12, 2020
    Messages:
    1,589
    Likes Received:
    2,797
    You're welcome! Happy to be of help.
     
  5. alethiophile

    alethiophile Shadowed Philosopher Administrator

    Joined:
    Apr 26, 2013
    Messages:
    7,569
    Likes Received:
    52,857
    If the rich text editor isn't working, you can always drop back to pure BBcode and adjust the spaces manually.