bugBattle for Wesnoth - Bugs: bug #20996, Strange consequences of bad usage...

Show feedback again

bug #20996: Strange consequences of bad usage of Pango tags

Submitted by:  None
Submitted on:  Wed Jul 31 06:55:12 2013  
Category: BugSeverity: 2 - Minor
Priority: 5 - NormalItem Group: User Interface
Status: FixedPrivacy: Public
Assigned to: Ignacio R. Morelle <shadowmaster>Originator Email: -unavailable-
Open/Closed: ClosedRelease: 1.10.6
Operating System: Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed Jul 31 10:35:14 2013, comment #1:

i have noticed a similar behavior when using ä ü ö (german special characters), when using pango in a gui2 dialog:
it shows me the objectives of the scenario instead of the original message.

Wed Jul 31 06:55:12 2013, original submission:

This is mostly copied from the topic: http://forums.wesnoth.org/viewtopic.php?f=21&t=39180 , where I was asked to post it here.

I have noticed that if a [message] contains bad pango formatting symbols, like <i> tag finished by </b> tag, it has really weird consequences.

If the code looks like this:
Code: [ Select all ]
message= _ "I was standing in my room, completely alone, when suddenly..."
message= _ "I heard a far that <b>wasn't mine</i>."

You will first see a message 'I was standing in my room, completely alone, when suddenly...' and then 'I was standing in my room, completely a'.

This seems to be because the message's length was read correctly, but the text failed to load, and so it read what was in the variable holding the text before, and that was the previous message.



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by shadowmaster (Updated the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jan 6 00:52:16 2014shadowmasterOpen/ClosedOpen=>Closed
    Fri Dec 20 00:35:44 2013shadowmasterStatusNone=>Fixed
      Assigned tomordante=>shadowmaster
    Tue Aug 6 00:26:39 2013shadowmasterAssigned toNone=>mordante
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup