Pasted content gains erroneous line breaks

Bug


  1. Correct


    As an example, outside of a pre-existing fenced code block (<pre>), the undermentioned:

    1. Code


      #### **DOCUMENT**
      
      > Add File
      
      #### **API CREDENTIALS**
      
      1. > Username
      1. > Credential
      1. > Type
      1. > File Name
      1. > Valid From
      1. > Expires
      1. > Hostname
      
      #### **BANK ACCOUNT**
      
      1. > Bank Name
      1. > Name On Account
      1. > Type
      1. > Routing Number
      1. > Account Number
      1. > Swift
      1. > IBAN
      1. > PIN
      1. > Bank Phone
      1. > Address
      
      #### **CRYPTO WALLET**
      
      1. > Recovery Phrase
      1. > Password
      1. > Wallet Address
      
      #### **DATABASE**
      
      1. > Type
      1. > Server
      1. > Port
      1. > Database
      1. > Username
      1. > Password
      1. > SID
      1. > Alias
      1. > Connection Options
      
      #### **DRIVER LICENSE**
      
      1. > Full Name
      1. > Address
      1. > Date of Birth
      1. > Gender
      1. > Height
      1. > Number
      1. > License Class
      1. > Conditions/Restrictions
      1. > State
      1. > Country
      1. > Expiry Date
      1. > Add Front Image
      1. > Add Back Image
      
      #### **STATE ID**
      
      1. > Full Name
      1. > Address
      1. > Date of Birth
      1. > Gender
      1. > Height
      1. > Number
      1. > State
      1. > Country
      1. > Expiry Date
      1. > Add Front Image
      1. > Add Back Image
      
      #### **EMAIL ACCOUNT**
      
      1. > Type
      1. > Username
      1. > Server
      1. > Port Number
      1. > Password
      1. > Security
      1. > Auth Method
      1. > SMTP Server
      1. > Port Number
      1. > Username
      1. > Password
      1. > Security
      1. > Auth Method
      1. > Provider
      1. > Provider’s Website
      1. > Phone (Local)
      1. > Phone (Toll Free)
      
      #### **MEDICAL RECORD**
      
      1. > Date
      1. > Location
      1. > Healthcare Professional
      1. > Name of Patient
      1. > Reason for Visit
      1. > Patient’s Concerns
      1. > Medication
      1. > Dosage
      1. > Medication Notes
      1. > Vaccine
      1. > Phone
      1. > Height
      1. > Blood Type
      1. > Eyeglasses Prescription
      1. > Prescription Description
      1. > Dental Procedure
      1. > Recovery Description
      1. > Surgery Date
      1. > Surgery Description
      1. > Medical Conditions
      1. > Diagnosis
      1. > Mental Health
      1. > Therapy Notes
      1. > Therapy Solutions
      1. > Add Medical Document
      1. > Add Image
      
      #### **MEMBERSHIP**
      
      1. > Group
      1. > Website
      1. > Telephone
      1. > Member Name
      1. > Member Since
      1. > Expiry Date
      1. > Member ID
      1. > PIN
      1. > Member Since
      1. > Customer Service Number
      1. > Phone for Reservations
      1. > Website
      
      #### **GUN LICENSE**
      
      1. > Class
      1. > License Number
      1. > Expiration Date
      1. > Date of Issue
      1. > Issuing City/Town
      1. > Issuing State
      1. > Restrictions
      1. > Name
      1. > Address
      
      #### **OUTDOOR LICENSE**
      
      1. > Full Name
      1. > Valid From
      1. > Expires
      1. > Approved Wildlife
      1. > Maximum Quota
      1. > State
      1. > Country
      1. > Add Front Image
      1. > Add Back Image
      
      #### **PASSPORT**
      
      1. > Type
      1. > Issuing Country
      1. > Number
      1. > Full Name
      1. > Gender
      1. > Nationality
      1. > Issuing Authority
      1. > Date of Birth
      1. > Place of Birth
      1. > Issued On
      1. > Expiry Date
      
      #### **REWARD PROGRAM**
      
      1. > Company Name
      1. > Member Name
      1. > Member ID
      1. > PIN
      1. > Member Since
      1. > Customer Service Number
      1. > Phone for Reservations
      1. > Website
      
      #### **SSH KEY**
      
      > Add Private Key
      
      #### **SERVER**
      
      1. > URL
      1. > Username
      1. > Password
      1. > Admin Console URL
      1. > Admin Console Username
      1. > Admin Console Password
      1. > Hosting Provider Name
      1. > Provider Website
      1. > Provider Support URL
      1. > Provider Support Email
      1. > Provider Support Phone
      
      #### **SOCIAL SECURITY NUMBER**
      
      1. > First Name
      1. > Middle Name
      1. > Middle Initial
      1. > Last Name
      1. > Social Security Number
      1. > Add Front Image
      1. > Add Back Image
      
      #### **SOFTWARE LICENSE**
      
      1. > Version
      1. > License Key
      1. > Customer Licensed To
      1. > Customer Registered Email
      1. > Customer Company
      1. > Customer Registered Phone
      1. > Publisher Download Page
      1. > Publisher
      1. > Publisher Website
      1. > Publisher Retail Price
      1. > Publisher Support Email
      1. > Publisher Support Phone
      1. > Order Purchase Date
      1. > Order Number
      1. > Order Total
      
      #### **WIRELESS ROUTER**
      
      1. > Base Station Name
      1. > Base Station Password
      1. > Server / IP Address
      1. > AirPort ID
      1. > Network Name
      1. > Wireless Security
      1. > Wireless Network Password
      1. > Attached Storage Password
      1. > WiFi Name
      1. > WiFI Password
      
      #### **COMPANIES**
      
      1. > Company Name
      1. > Company Email
      1. > Company Phone Number
      1. > Company Address
      1. > Company Support Email
      1. > Company Support Phone Number
      1. > Company Data Privacy Support Email
      1. > Company Data Privacy Support Phone Number
      1. > Company Data Privacy Support Address
      1. > Add Terms of Service file
      1. > Add Privacy Policy file
      
      #### **WEBSITE**
      
      1. > Website Name
      1. > Website Email
      1. > Website Phone Number
      1. > Website Address
      1. > Website Support Email
      1. > Website Support Phone Number
      1. > Website Data Privacy Support Email
      1. > Website Data Privacy Support Phone Number
      1. > Website Data Privacy Support Address
      1. > Add Terms of Service file/text
      1. > Add Privacy Policy file/text
      
      #### **JOB**
      
      1. > Title
      1. > Date Started
      1. > Date Ended
      1. > Manager
      1. > Supervisor
      1. > Colleague
      1. > Salary
      
    2. Render


      …which renders as:

      DOCUMENT

      Add File

      API CREDENTIALS

      1. Username

      2. Credential

      3. Type

      4. File Name

      5. Valid From

      6. Expires

      7. Hostname

      BANK ACCOUNT

      1. Bank Name

      2. Name On Account

      3. Type

      4. Routing Number

      5. Account Number

      6. Swift

      7. IBAN

      8. PIN

      9. Bank Phone

      10. Address

      CRYPTO WALLET

      1. Recovery Phrase

      2. Password

      3. Wallet Address

      DATABASE

      1. Type

      2. Server

      3. Port

      4. Database

      5. Username

      6. Password

      7. SID

      8. Alias

      9. Connection Options

      DRIVER LICENSE

      1. Full Name

      2. Address

      3. Date of Birth

      4. Gender

      5. Height

      6. Number

      7. License Class

      8. Conditions/Restrictions

      9. State

      10. Country

      11. Expiry Date

      12. Add Front Image

      13. Add Back Image

      STATE ID

      1. Full Name

      2. Address

      3. Date of Birth

      4. Gender

      5. Height

      6. Number

      7. State

      8. Country

      9. Expiry Date

      10. Add Front Image

      11. Add Back Image

      EMAIL ACCOUNT

      1. Type

      2. Username

      3. Server

      4. Port Number

      5. Password

      6. Security

      7. Auth Method

      8. SMTP Server

      9. Port Number

      10. Username

      11. Password

      12. Security

      13. Auth Method

      14. Provider

      15. Provider’s Website

      16. Phone (Local)

      17. Phone (Toll Free)

      MEDICAL RECORD

      1. Date

      2. Location

      3. Healthcare Professional

      4. Name of Patient

      5. Reason for Visit

      6. Patient’s Concerns

      7. Medication

      8. Dosage

      9. Medication Notes

      10. Vaccine

      11. Phone

      12. Height

      13. Blood Type

      14. Eyeglasses Prescription

      15. Prescription Description

      16. Dental Procedure

      17. Recovery Description

      18. Surgery Date

      19. Surgery Description

      20. Medical Conditions

      21. Diagnosis

      22. Mental Health

      23. Therapy Notes

      24. Therapy Solutions

      25. Add Medical Document

      26. Add Image

      MEMBERSHIP

      1. Group

      2. Website

      3. Telephone

      4. Member Name

      5. Member Since

      6. Expiry Date

      7. Member ID

      8. PIN

      9. Member Since

      10. Customer Service Number

      11. Phone for Reservations

      12. Website

      GUN LICENSE

      1. Class

      2. License Number

      3. Expiration Date

      4. Date of Issue

      5. Issuing City/Town

      6. Issuing State

      7. Restrictions

      8. Name

      9. Address

      OUTDOOR LICENSE

      1. Full Name

      2. Valid From

      3. Expires

      4. Approved Wildlife

      5. Maximum Quota

      6. State

      7. Country

      8. Add Front Image

      9. Add Back Image

      PASSPORT

      1. Type

      2. Issuing Country

      3. Number

      4. Full Name

      5. Gender

      6. Nationality

      7. Issuing Authority

      8. Date of Birth

      9. Place of Birth

      10. Issued On

      11. Expiry Date

      REWARD PROGRAM

      1. Company Name

      2. Member Name

      3. Member ID

      4. PIN

      5. Member Since

      6. Customer Service Number

      7. Phone for Reservations

      8. Website

      SSH KEY

      Add Private Key

      SERVER

      1. URL

      2. Username

      3. Password

      4. Admin Console URL

      5. Admin Console Username

      6. Admin Console Password

      7. Hosting Provider Name

      8. Provider Website

      9. Provider Support URL

      10. Provider Support Email

      11. Provider Support Phone

      SOCIAL SECURITY NUMBER

      1. First Name

      2. Middle Name

      3. Middle Initial

      4. Last Name

      5. Social Security Number

      6. Add Front Image

      7. Add Back Image

      SOFTWARE LICENSE

      1. Version

      2. License Key

      3. Customer Licensed To

      4. Customer Registered Email

      5. Customer Company

      6. Customer Registered Phone

      7. Publisher Download Page

      8. Publisher

      9. Publisher Website

      10. Publisher Retail Price

      11. Publisher Support Email

      12. Publisher Support Phone

      13. Order Purchase Date

      14. Order Number

      15. Order Total

      WIRELESS ROUTER

      1. Base Station Name

      2. Base Station Password

      3. Server / IP Address

      4. AirPort ID

      5. Network Name

      6. Wireless Security

      7. Wireless Network Password

      8. Attached Storage Password

      9. WiFi Name

      10. WiFI Password

      COMPANIES

      1. Company Name

      2. Company Email

      3. Company Phone Number

      4. Company Address

      5. Company Support Email

      6. Company Support Phone Number

      7. Company Data Privacy Support Email

      8. Company Data Privacy Support Phone Number

      9. Company Data Privacy Support Address

      10. Add Terms of Service file

      11. Add Privacy Policy file

      WEBSITE

      1. Website Name

      2. Website Email

      3. Website Phone Number

      4. Website Address

      5. Website Support Email

      6. Website Support Phone Number

      7. Website Data Privacy Support Email

      8. Website Data Privacy Support Phone Number

      9. Website Data Privacy Support Address

      10. Add Terms of Service file/text

      11. Add Privacy Policy file/text

      JOB

      1. Title

      2. Date Started

      3. Date Ended

      4. Manager

      5. Supervisor

      6. Colleague

      7. Salary

  2. Incorrect


    …is pasted as:

    1. Code


      #### **DOCUMENT**
      
      > Add File
      
      #### **API CREDENTIALS**
      
      1. > Username
      
      1. > Credential
      
      1. > Type
      
      1. > File Name
      
      1. > Valid From
      
      1. > Expires
      
      1. > Hostname
      
      #### **BANK ACCOUNT**
      
      1. > Bank Name
      
      1. > Name On Account
      
      1. > Type
      
      1. > Routing Number
      
      1. > Account Number
      
      1. > Swift
      
      1. > IBAN
      
      1. > PIN
      
      1. > Bank Phone
      
      1. > Address
      
      #### **CRYPTO WALLET**
      
      1. > Recovery Phrase
      
      1. > Password
      
      1. > Wallet Address
      
      #### **DATABASE**
      
      1. > Type
      
      1. > Server
      
      1. > Port
      
      1. > Database
      
      1. > Username
      
      1. > Password
      
      1. > SID
      
      1. > Alias
      
      1. > Connection Options
      
      #### **DRIVER LICENSE**
      
      1. > Full Name
      
      1. > Address
      
      1. > Date of Birth
      
      1. > Gender
      
      1. > Height
      
      1. > Number
      
      1. > License Class
      
      1. > Conditions/Restrictions
      
      1. > State
      
      1. > Country
      
      1. > Expiry Date
      
      1. > Add Front Image
      
      1. > Add Back Image
      
      #### **STATE ID**
      
      1. > Full Name
      
      1. > Address
      
      1. > Date of Birth
      
      1. > Gender
      
      1. > Height
      
      1. > Number
      
      1. > State
      
      1. > Country
      
      1. > Expiry Date
      
      1. > Add Front Image
      
      1. > Add Back Image
      
      #### **EMAIL ACCOUNT**
      
      1. > Type
      
      1. > Username
      
      1. > Server
      
      1. > Port Number
      
      1. > Password
      
      1. > Security
      
      1. > Auth Method
      
      1. > SMTP Server
      
      1. > Port Number
      
      1. > Username
      
      1. > Password
      
      1. > Security
      
      1. > Auth Method
      
      1. > Provider
      
      1. > Provider’s Website
      
      1. > Phone (Local)
      
      1. > Phone (Toll Free)
      
      #### **MEDICAL RECORD**
      
      1. > Date
      
      1. > Location
      
      1. > Healthcare Professional
      
      1. > Name of Patient
      
      1. > Reason for Visit
      
      1. > Patient’s Concerns
      
      1. > Medication
      
      1. > Dosage
      
      1. > Medication Notes
      
      1. > Vaccine
      
      1. > Phone
      
      1. > Height
      
      1. > Blood Type
      
      1. > Eyeglasses Prescription
      
      1. > Prescription Description
      
      1. > Dental Procedure
      
      1. > Recovery Description
      
      1. > Surgery Date
      
      1. > Surgery Description
      
      1. > Medical Conditions
      
      1. > Diagnosis
      
      1. > Mental Health
      
      1. > Therapy Notes
      
      1. > Therapy Solutions
      
      1. > Add Medical Document
      
      1. > Add Image
      
      #### **MEMBERSHIP**
      
      1. > Group
      
      1. > Website
      
      1. > Telephone
      
      1. > Member Name
      
      1. > Member Since
      
      1. > Expiry Date
      
      1. > Member ID
      
      1. > PIN
      
      1. > Member Since
      
      1. > Customer Service Number
      
      1. > Phone for Reservations
      
      1. > Website
      
      #### **GUN LICENSE**
      
      1. > Class
      
      1. > License Number
      
      1. > Expiration Date
      
      1. > Date of Issue
      
      1. > Issuing City/Town
      
      1. > Issuing State
      
      1. > Restrictions
      
      1. > Name
      
      1. > Address
      
      #### **OUTDOOR LICENSE**
      
      1. > Full Name
      
      1. > Valid From
      
      1. > Expires
      
      1. > Approved Wildlife
      
      1. > Maximum Quota
      
      1. > State
      
      1. > Country
      
      1. > Add Front Image
      
      1. > Add Back Image
      
      #### **PASSPORT**
      
      1. > Type
      
      1. > Issuing Country
      
      1. > Number
      
      1. > Full Name
      
      1. > Gender
      
      1. > Nationality
      
      1. > Issuing Authority
      
      1. > Date of Birth
      
      1. > Place of Birth
      
      1. > Issued On
      
      1. > Expiry Date
      
      #### **REWARD PROGRAM**
      
      1. > Company Name
      
      1. > Member Name
      
      1. > Member ID
      
      1. > PIN
      
      1. > Member Since
      
      1. > Customer Service Number
      
      1. > Phone for Reservations
      
      1. > Website
      
      #### **SSH KEY**
      
      > Add Private Key
      
      #### **SERVER**
      
      1. > URL
      
      1. > Username
      
      1. > Password
      
      1. > Admin Console URL
      
      1. > Admin Console Username
      
      1. > Admin Console Password
      
      1. > Hosting Provider Name
      
      1. > Provider Website
      
      1. > Provider Support URL
      
      1. > Provider Support Email
      
      1. > Provider Support Phone
      
      #### **SOCIAL SECURITY NUMBER**
      
      1. > First Name
      
      1. > Middle Name
      
      1. > Middle Initial
      
      1. > Last Name
      
      1. > Social Security Number
      
      1. > Add Front Image
      
      1. > Add Back Image
      
      #### **SOFTWARE LICENSE**
      
      1. > Version
      
      1. > License Key
      
      1. > Customer Licensed To
      
      1. > Customer Registered Email
      
      1. > Customer Company
      
      1. > Customer Registered Phone
      
      1. > Publisher Download Page
      
      1. > Publisher
      
      1. > Publisher Website
      
      1. > Publisher Retail Price
      
      1. > Publisher Support Email
      
      1. > Publisher Support Phone
      
      1. > Order Purchase Date
      
      1. > Order Number
      
      1. > Order Total
      
      #### **WIRELESS ROUTER**
      
      1. > Base Station Name
      
      1. > Base Station Password
      
      1. > Server / IP Address
      
      1. > AirPort ID
      
      1. > Network Name
      
      1. > Wireless Security
      
      1. > Wireless Network Password
      
      1. > Attached Storage Password
      
      1. > WiFi Name
      
      1. > WiFI Password
      
      #### **COMPANIES**
      
      1. > Company Name
      
      1. > Company Email
      
      1. > Company Phone Number
      
      1. > Company Address
      
      1. > Company Support Email
      
      1. > Company Support Phone Number
      
      1. > Company Data Privacy Support Email
      
      1. > Company Data Privacy Support Phone Number
      
      1. > Company Data Privacy Support Address
      
      1. > Add Terms of Service file
      
      1. > Add Privacy Policy file
      
      #### **WEBSITE**
      
      1. > Website Name
      
      1. > Website Email
      
      1. > Website Phone Number
      
      1. > Website Address
      
      1. > Website Support Email
      
      1. > Website Support Phone Number
      
      1. > Website Data Privacy Support Email
      
      1. > Website Data Privacy Support Phone Number
      
      1. > Website Data Privacy Support Address
      
      1. > Add Terms of Service file/text
      
      1. > Add Privacy Policy file/text
      
      #### **JOB**
      
      1. > Title
      
      1. > Date Started
      
      1. > Date Ended
      
      1. > Manager
      
      1. > Supervisor
      
      1. > Colleague
      
      1. > Salary
      
    2. Render


      …which renders as:

      DOCUMENT

      Add File

      API CREDENTIALS

      1. Username

      2. Credential

      3. Type

      4. File Name

      5. Valid From

      6. Expires

      7. Hostname

      BANK ACCOUNT

      1. Bank Name

      2. Name On Account

      3. Type

      4. Routing Number

      5. Account Number

      6. Swift

      7. IBAN

      8. PIN

      9. Bank Phone

      10. Address

      CRYPTO WALLET

      1. Recovery Phrase

      2. Password

      3. Wallet Address

      DATABASE

      1. Type

      2. Server

      3. Port

      4. Database

      5. Username

      6. Password

      7. SID

      8. Alias

      9. Connection Options

      DRIVER LICENSE

      1. Full Name

      2. Address

      3. Date of Birth

      4. Gender

      5. Height

      6. Number

      7. License Class

      8. Conditions/Restrictions

      9. State

      10. Country

      11. Expiry Date

      12. Add Front Image

      13. Add Back Image

      STATE ID

      1. Full Name

      2. Address

      3. Date of Birth

      4. Gender

      5. Height

      6. Number

      7. State

      8. Country

      9. Expiry Date

      10. Add Front Image

      11. Add Back Image

      EMAIL ACCOUNT

      1. Type

      2. Username

      3. Server

      4. Port Number

      5. Password

      6. Security

      7. Auth Method

      8. SMTP Server

      9. Port Number

      10. Username

      11. Password

      12. Security

      13. Auth Method

      14. Provider

      15. Provider’s Website

      16. Phone (Local)

      17. Phone (Toll Free)

      MEDICAL RECORD

      1. Date

      2. Location

      3. Healthcare Professional

      4. Name of Patient

      5. Reason for Visit

      6. Patient’s Concerns

      7. Medication

      8. Dosage

      9. Medication Notes

      10. Vaccine

      11. Phone

      12. Height

      13. Blood Type

      14. Eyeglasses Prescription

      15. Prescription Description

      16. Dental Procedure

      17. Recovery Description

      18. Surgery Date

      19. Surgery Description

      20. Medical Conditions

      21. Diagnosis

      22. Mental Health

      23. Therapy Notes

      24. Therapy Solutions

      25. Add Medical Document

      26. Add Image

      MEMBERSHIP

      1. Group

      2. Website

      3. Telephone

      4. Member Name

      5. Member Since

      6. Expiry Date

      7. Member ID

      8. PIN

      9. Member Since

      10. Customer Service Number

      11. Phone for Reservations

      12. Website

      GUN LICENSE

      1. Class

      2. License Number

      3. Expiration Date

      4. Date of Issue

      5. Issuing City/Town

      6. Issuing State

      7. Restrictions

      8. Name

      9. Address

      OUTDOOR LICENSE

      1. Full Name

      2. Valid From

      3. Expires

      4. Approved Wildlife

      5. Maximum Quota

      6. State

      7. Country

      8. Add Front Image

      9. Add Back Image

      PASSPORT

      1. Type

      2. Issuing Country

      3. Number

      4. Full Name

      5. Gender

      6. Nationality

      7. Issuing Authority

      8. Date of Birth

      9. Place of Birth

      10. Issued On

      11. Expiry Date

      REWARD PROGRAM

      1. Company Name

      2. Member Name

      3. Member ID

      4. PIN

      5. Member Since

      6. Customer Service Number

      7. Phone for Reservations

      8. Website

      SSH KEY

      Add Private Key

      SERVER

      1. URL

      2. Username

      3. Password

      4. Admin Console URL

      5. Admin Console Username

      6. Admin Console Password

      7. Hosting Provider Name

      8. Provider Website

      9. Provider Support URL

      10. Provider Support Email

      11. Provider Support Phone

      SOCIAL SECURITY NUMBER

      1. First Name

      2. Middle Name

      3. Middle Initial

      4. Last Name

      5. Social Security Number

      6. Add Front Image

      7. Add Back Image

      SOFTWARE LICENSE

      1. Version

      2. License Key

      3. Customer Licensed To

      4. Customer Registered Email

      5. Customer Company

      6. Customer Registered Phone

      7. Publisher Download Page

      8. Publisher

      9. Publisher Website

      10. Publisher Retail Price

      11. Publisher Support Email

      12. Publisher Support Phone

      13. Order Purchase Date

      14. Order Number

      15. Order Total

      WIRELESS ROUTER

      1. Base Station Name

      2. Base Station Password

      3. Server / IP Address

      4. AirPort ID

      5. Network Name

      6. Wireless Security

      7. Wireless Network Password

      8. Attached Storage Password

      9. WiFi Name

      10. WiFI Password

      COMPANIES

      1. Company Name

      2. Company Email

      3. Company Phone Number

      4. Company Address

      5. Company Support Email

      6. Company Support Phone Number

      7. Company Data Privacy Support Email

      8. Company Data Privacy Support Phone Number

      9. Company Data Privacy Support Address

      10. Add Terms of Service file

      11. Add Privacy Policy file

      WEBSITE

      1. Website Name

      2. Website Email

      3. Website Phone Number

      4. Website Address

      5. Website Support Email

      6. Website Support Phone Number

      7. Website Data Privacy Support Email

      8. Website Data Privacy Support Phone Number

      9. Website Data Privacy Support Address

      10. Add Terms of Service file/text

      11. Add Privacy Policy file/text

      JOB

      1. Title

      2. Date Started

      3. Date Ended

      4. Manager

      5. Supervisor

      6. Colleague

      7. Salary

Workaround


Luckily, this can be trivially bypassed by appending the undermentioned:

```MD

…before the pasted content. However, this isn’t easily discoverable, and I’ve seen the consequences when those new to Discourse attempt to paste MD markup, and are unable to remediate the corruption caused by the transfer from editor to Discourse.

Hi, I can’t repro this, Im probably not understanding your steps, can you describe them more precisely to be sure Im not missing something?

1 Like

Apologies for the wait, @joffreyjaffeux. Likewise, I apologize for the pasted content being utterly broken in its formatting - it appears that I forgot to adhere to my own advice, so Discourse broke it. I’ve remediated it now.

Basically, pasting a significant amount of Markdown can consistently cause Discourse to reformat it when it’s pasted. The problematic part of its reformatting is that it adds line breaks to the pasted content.]

However, if the user prepends ``` before they paste the Markdown, it is not reformatted on paste. I’ll attach a video as an example.

  1. …from https://imgur.com/a/gTTQqcD.

Hello :wave:
Here is a relevant topic with some workaround.

2 Likes

Thank you, @Don. Empty line is inserted between every lines when I paste text into editor - #3 by Don and Empty line is inserted between every lines when I paste text into editor - #5 by Canapin are useful workarounds. However, considering that solely Discourse appears to suffer from this problem, Discourse must be partially at fault in how it interprets this data.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.