TADS Bug Database

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000062TADS 3Interpreterpublic2009-05-17 16:272009-06-01 15:24
Assigned ToMichael Roberts 
PlatformOSOS Version
Summary0000062: os_set_title() can be passed a string containing HTML entities.
DescriptionIf, for example, you look at what is passed to the interface routine os_set_title() when running the game "Lydia's Heart" (http://ifdb.tads.org/viewgame?id=7t22wbllftv7nuiw [^]), it is passed the string

  "Lydia’s Heart"

because os_set_title() just passes whatever is in the HTML <title> tag. It seems a bit harsh to expect a non-HTML interpreter to have to be able to parse HTML entities - it would be nicer if the OS layer in the interpreter could use the available mapping routines to generate a more appropriate string to pass.
TagsNo tags attached.
Fixed In Version2.5.15; 3.0.19
Attached Files

- Relationships

-  Notes
DavidK (reporter)
2009-05-17 16:35

Bah, the text sent to os_set_title got formatted by Mantis: it should have appeared as

  Lydia&rsquo;s Heart

and the link as

http://ifdb.tads.org/viewgame?id=7t22wbllftv7nuiw [^]
Michael Roberts (administrator)
2009-06-01 15:24

Agreed. I've added this parsing to the HTML mini-parser in the text-only console output layer (this is in the portable code, so it should be automatically inherited on ports as they update to the new version). os_set_title() will now be sent the parsed and translated character values instead of the raw entity markups.

- Issue History
Date Modified Username Field Change
2009-05-17 16:27 DavidK New Issue
2009-05-17 16:33 DavidK Note Added: 0000104
2009-05-17 16:33 DavidK Note Deleted: 0000104
2009-05-17 16:34 DavidK Note Added: 0000105
2009-05-17 16:34 DavidK Note Deleted: 0000105
2009-05-17 16:35 DavidK Note Added: 0000106
2009-06-01 15:24 Michael Roberts Fixed In Version => 2.5.15; 3.0.19
2009-06-01 15:24 Michael Roberts Note Added: 0000108
2009-06-01 15:24 Michael Roberts Assigned To => Michael Roberts
2009-06-01 15:24 Michael Roberts Status new => resolved
2009-06-01 15:24 Michael Roberts Resolution open => fixed
2009-06-01 15:24 Michael Roberts Description Updated

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker