Skip to content

Unwanted gobble/garble of links #4

Description

@mcdemarco

In a long paragraph of links, three adjacent links were merged into one bad link, while several others were processed correctly.

Here is my markdown:
Jacinyth City is a 1--3 player game based on P.D. Magnus' [Jacynth](https://boardgamegeek.com/boardgame/39290/jacynth) and Andrew Looney's [Zark City](https://boardgamegeek.com/boardgame/35003/zark-city) (a simpler [Zarcana](https://boardgamegeek.com/boardgame/10996/zarcana)-style game for a traditional deck of cards). I devised it after a discussion on my [geeklist of Zarcana-type games](https://boardgamegeek.com/geeklist/333402/arcana). I've also made a more Zark City-like Decktet game, [Deck Town](http://mcdemarco.net/games/decktet/decktown/), [deciphered](http://mcdemarco.net/games/decktet/dectana/) [Dectana](https://boardgamegeek.com/boardgame/60015/dectana), and am playtesting yet another Zarcana-type game for the Decktet.

Here is what markdown_to_BGG did to it (merged the external link text from Deck Town and the internal BGG location of Dectana into a single, incorrect link, completely deleting the external link between them):
Jacinyth City is a 1--3 player game based on P.D. Magnus' [boardgame=39290]Jacynth[/boardgame] and Andrew Looney's [boardgame=35003]Zark City[/boardgame] (a simpler [boardgame=10996]Zarcana[/boardgame]-style game for a traditional deck of cards). I devised it after a discussion on my [geeklist=333402]geeklist of Zarcana-type games[/geeklist]. I've also made a more Zark City-like Decktet game, [boardgame=60015]Deck Town[/boardgame], and am playtesting yet another Zarcana-type game for the Decktet.

I ran the text directly through marko to see if it was the source of the munging, but that came out fine:
<p>Jacinyth City is a 1--3 player game based on P.D. Magnus' <a href="https://boardgamegeek.com/boardgame/39290/jacynth">Jacynth</a> and Andrew Looney's <a href="https://boardgamegeek.com/boardgame/35003/zark-city">Zark City</a> (a simpler <a href="https://boardgamegeek.com/boardgame/10996/zarcana">Zarcana</a>-style game for a traditional deck of cards). I devised it after a discussion on my <a href="https://boardgamegeek.com/geeklist/333402/arcana">geeklist of Zarcana-type games</a>. I've also made a more Zark City-like Decktet game, <a href="http://mcdemarco.net/games/decktet/decktown/">Deck Town</a>, <a href="http://mcdemarco.net/games/decktet/dectana/">deciphered</a> <a href="https://boardgamegeek.com/boardgame/60015/dectana">Dectana</a>, and am playtesting yet another Zarcana-type game for the Decktet.</p>

I'd guess there's some greedy regex in there somewhere.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions