Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0006403Dwarf FortressDwarf Mode -- Interface, Unit Viewpublic2014-01-05 12:482014-10-25 17:06
lethosor 
Toady One 
lowtweakalways
resolvedfixed 
Mac OS XMavericks10.9
0.34.11 
0.40.14 
0006403: Brackets in nicknames are not escaped on thoughts and preferences screen
Adding square brackets, e.g. [ and ], to a unit's nickname can produce strange results on the "thoughts and preferences" screen ([u]-[v]-[Enter]).
In most cases, the text between the brackets is absent when viewed. However, using certain tags can produce strange results, so I'm assuming it's being treated as markup. For example, [B] produces a paragraph break: http://i.imgur.com/FV41R8l.png [^]
[C:4:0:1] produces red text for the remainder of the paragraph: http://i.imgur.com/kYFMsyq.png [^]

Text in the title is not affected.
nickname
Issue History
2014-01-05 12:48lethosorNew Issue
2014-01-05 12:49lethosorTag Attached: nickname
2014-01-05 12:49lethosorIssue Monitored: lethosor
2014-10-25 17:06lethosorNote Added: 0030721
2014-10-25 17:06lethosorStatusnew => resolved
2014-10-25 17:06lethosorFixed in Version => 0.40.14
2014-10-25 17:06lethosorResolutionopen => fixed
2014-10-25 17:06lethosorAssigned To => Toady One

Notes
(0030721)
lethosor   
2014-10-25 17:06   
The visible aspect of this problem no longer occurs in 0.40.14, since the thoughts and preferences screen only uses pronouns.