Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaping option for "#"? #21

Open
chrisgrieser opened this issue May 21, 2021 · 1 comment
Open

Escaping option for "#"? #21

chrisgrieser opened this issue May 21, 2021 · 1 comment

Comments

@chrisgrieser
Copy link

I have some cases, where I actually want to have # in the subtitle. However, they never appear, likely cause the script thinks its another comment. '#' or \#also did not work for me. Is there a proper way for espacing? If not, I formally request one :) thanks!

@carl-zang
Copy link

For those who also have the same need, I have a workaround.
Open ./lib/parser.py line 55: comment=comment.replace("#","").replace("\n",". ").strip()
Instead of replacing all # characters, use comment=comment.replace("#","", 1).replace("\n",". ").strip() to replace only the first # on each line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants