Bug: HTML5 & text string table formatting

adam36021adam36021 Member, PRO Posts: 45

Hi all,

This is a bug I've been working around for a while. I can easily reproduce it. Here's a sample project hosted on my server, and one in arcade.

"http://arcade.gamesalad.com/games/171116"

Here's a screenshot of the table it is pulling the text strings from.


Basically: punctuation like commas or apostrophes are being replaced with " /, " and if you add quotation marks in dialog, like: [ He says, "go that way, adventurer" ] it ignores the quotation marks entirely.

I didn't reproduce it here, but I am fairly sure a text cell with multiple quotation marks will break HTML5 structure entirely, like the following:

[ "Go east past the mountains," said the old wizard. "Then go north, as far as north will go." ]



Hope these examples demonstrate.

Comments

  • adam36021adam36021 Member, PRO Posts: 45
    edited March 2023

    Here's another version with the second example


    "http://arcade.gamesalad.com/games/171117"

    [ "Go east past the mountains," said the old wizard. "Then go north, as far as north will go." ]


    As you can see: it drops the initial quotation mark, adds backslashes to punctuation, and loses the last quotation mark. Note that it is always the SECOND comma that causes the character breaking, the first comma works fine.

  • adam36021adam36021 Member, PRO Posts: 45

    And for what its worth: my workaround so far has just been changing how I structure dialog in text cells. No contractions, no quotation marks, no apostrophes. This works but kind of limits what you can do.

    [In this level, you'll be making ships. ]

    Becomes:

    [ In this level you will be making ships. ]

  • Jeffm2Jeffm2 Member, PRO Posts: 148

    I am dealing with the same bug. i am making a quiz game using tables and can't use more than one comma

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,165

    Could you send me an link to your project (https://creator.gamesalad.com if it's built there, https://publish.gamesalad.com/game/####/edit otherwise).

Sign In or Register to comment.