Skip to content

[Bug]: 1.18 - HTML entities end up as broken UTF in frame5 #5640

Description

@kwvanderlinde

Describe the Bug

When using HTML entities with frame5(), the characters sometimes do display as garbage.

To Reproduce

  1. Add a macro with these contents to a campaign:
    [r, frame5("HTML5"): {
    	<body>
    		Hello&emsp;there!
    	</body>
    }]
    
  2. Run the macro.
  3. See this content in the frame: Hello there!

Expected Behaviour

HTML entities should be preserved when setting the frame contents.

Screenshots

No response

MapTool Info

1.18.0-rc.1

Desktop

Linux Mint 22.1

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

Projects

Status
Merged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions