ccomeaux / boardgamegeek4android

BoardGameGeek application for Android (unofficial)
GNU General Public License v3.0
228 stars 47 forks source link

Strange behaviour when using tags in "wishlist comment" or "trade condition" fields. #127

Closed rafal-watorski closed 4 years ago

rafal-watorski commented 4 years ago

I'm using a lot of tags in my collection, usually in "Private comment", "Wishlist comment" and "Trade condition" fields. When editing these fields using the application, the text is changed to html tags. After another sync (trough swiping down), the text is back to normal.

Step by step:

  1. Enter "[c]test[/c]" in the the mentioned fields.
  2. Save the changes.
  3. After collection item gets updated, the "Private comment" field remains the same, but other fields now have the text "test" displayed.
  4. Swipe down to resync.
  5. "Wishlist comment" and "Trade condition" now have the original text "[c]test[/c]".
ccomeaux commented 4 years ago

I found the problem. When you POST text like [b]bold[/b] to BGG, it responds with <b>bold</b>, which the apps stores. But BGG stores the correct value, so things are fixed the next time it syncs. Easy fix, coming right up!

rafal-watorski commented 4 years ago

Works ok now, thank you.