Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Vehicle Export to Clipboard Includes HTML #1479

Closed
JohnLangford opened this issue Apr 10, 2024 · 3 comments · Fixed by MegaMek/megamek#5536
Closed

Support Vehicle Export to Clipboard Includes HTML #1479

JohnLangford opened this issue Apr 10, 2024 · 3 comments · Fixed by MegaMek/megamek#5536

Comments

@JohnLangford
Copy link

Environment

0.49.18 from HQ's Meklab on Linux (Ubuntu). openjdk version "11.0.22" 2024-01-16

Description

When building a support vehicle -> VTOL -> Small, clicking on "Export ... to Clipboard" and then pasting reveals http elements in the upper portions of the pasted material.

Files

An example is:
Hoverbike (Laser)

Mass: 0.5 tons

Movement Type: VTOL

Power Plant: Fusion

Cruising Speed: 129.6 kph

Maximum Speed: 194.4 kph

Armor: BAR 2

Armament:

     6 Machine Gun (Portable)

Communication System: Unknown

Targeting & Tracking System: Unknown

Introduction Year: 3030

Tech Rating/Availability: D/X-E-D-D

Cost: 9,526 C-bills

Type: Hoverbike
Chassis Type: VTOL (Small)
Technology Base: Inner Sphere (Standard)
Mass: 500 kg
Battle Value: 42

Equipment Mass (kg)
Chassis/Controls 75.00000000000001
Engine/Trans. 250.0
Cruise MP:12
Flank MP:18
Heat Sinks 0 0.0
Fuel 0.0
Armor Factor (BAR 2) 0 13.0

                      Internal   Armor   
                      Structure  Value   
 Front                   1         0     
 R/L Side               1/1       0/0    
 Rear                    1         0     
 Rotor                   1         0     

Weapons
and Ammo Location Tonnage
None

Cargo
None

Notes:
Features Ultra-Light Chassis and Controls Modification

@pavelbraginskiy
Copy link
Collaborator

Can't reproduce in 49.20 Snapshot, only getting plaintext.

Can you check again in a newer version?

@JohnLangford
Copy link
Author

I'm not sure how to try in 49.20, but the bug still exists in 49.19.1.

It looks like github is suppressing the markup in it's printout. The markup starts just after the title and ends just after cost.

@pavelbraginskiy
Copy link
Collaborator

Got it, didn't realize at first you were talking about the TRO export.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants