URL:
  <http://gna.org/bugs/?20996>

                 Summary: Strange consequences of bad usage of Pango tags
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Wed Jul 31 06:55:12 2013
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: User Interface
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.10.6
        Operating System: Linux

    _______________________________________________________

Details:

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]
 speaker=Krakatulus
 message= _ "I was standing in my room, completely alone, when suddenly..."
[/message]
[message]
 speaker=Krakatulus
 message= _ "I heard a far that <b>wasn't mine</i>."
[/message]

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.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20996>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to