[Problem] MPF adds additional linebreaks to Contents field #376

Closed
opened 2026-01-29 16:15:28 +00:00 by claunia · 0 comments
Owner

Originally created by @FoxhackDN on GitHub (Jan 1, 2022).

Originally assigned to: @mnadareski on GitHub.

Version
What version are you using?

  • Stable release (2.2)
  • WIP release (version here)

Build
What runtime version are you using?

  • .NET Framework 4.7.2 running on (Operating System)
  • .NET Framework 4.8 running on (Windows 10)
  • .NET Core 3.1 running on (Operating System)

Describe the issue
MPF2.2 pulls the contents from Redump's servers if there's a match. If there's
tags in there, followed by linebreaks, it will display the text with two linebreaks instead of one.

To Reproduce
Steps to reproduce the behavior:

  1. Dump a disc that matches something in Redump, eg http://redump.org/disc/84234/
  2. Have the program pull the data after a successful matching dump
  3. Look at contents box, notice double linebreaks
  4. See error

Expected behavior
No double linebreaks

Additional context
The text should be sanitized to turn a
followed by a linebreak into a single linebreak.

Originally created by @FoxhackDN on GitHub (Jan 1, 2022). Originally assigned to: @mnadareski on GitHub. **Version** What version are you using? - [x] Stable release (2.2) - [ ] WIP release (version here) **Build** What runtime version are you using? - [ ] .NET Framework 4.7.2 running on (Operating System) - [x] .NET Framework 4.8 running on (Windows 10) - [ ] .NET Core 3.1 running on (Operating System) **Describe the issue** MPF2.2 pulls the contents from Redump's servers if there's a match. If there's <br> tags in there, followed by linebreaks, it will display the text with two linebreaks instead of one. **To Reproduce** Steps to reproduce the behavior: 1. Dump a disc that matches something in Redump, eg http://redump.org/disc/84234/ 2. Have the program pull the data after a successful matching dump 3. Look at contents box, notice double linebreaks 4. See error **Expected behavior** No double linebreaks **Additional context** The text should be sanitized to turn a <br> followed by a linebreak into a single linebreak.
claunia added the bug label 2026-01-29 16:15:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#376