Skip to content

HTML and Gatherer flags #8

Open

Description

@reimannsum

when Using HTML and Gatherer flags mana_text is not properly handled giving <img class="Mana-T"> instead of <img class="mana-T">

Activity

  1. billzorn commented on Jun 16, 2016

    @billzorn
    Owner

    This doesn't seem to be happening for me? I used flags:

    ./decode.py ../torch-rnn/s800r_t0.8.txt spoiler.html -v -d -html -g
    
  2. self-assigned this
    on Jun 16, 2016
  3. reimannsum commented on Jun 16, 2016

    @reimannsum
    ContributorAuthor

    weird I use python2-7-11\python.exe mtgencode\decode.py output.txt spoiler.html -html -g and it still happens to me. spoiler3 is your s800_t0.8 using my command, spoiuler 2 is using your command.
    spoiler2.html.txt

    output.txt
    spoiler.html.txt
    spoiler3.html.txt

    which is so weird, because after looking through the code there is no reason it would only effect the tap and untap symbols. I could understand if it effected effected every line where the name appeared in the card text as a overzealous capitalization function, but just the tap and untap?

  4. billzorn commented on Jun 16, 2016

    @billzorn
    Owner

    Oh I bet I know what's going on, I have the full NLTK smart capitalization thing installed, but there's a silent fallback if you don't. I'll turn it off and see if that lets me repro.

    The tap symbol is a little weird because it seems like a manacost thing but it might be handled differently in the code.

  5. reimannsum commented on Jun 16, 2016

    @reimannsum
    ContributorAuthor

    yeah I think I noticed that, the tap and untap symbols weren't present in any of the mana symbol libraries

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions