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

Weird formating error with text font and flowing off the page in certain Talk replies #1599

Closed
mschwamb opened this issue Sep 19, 2015 · 2 comments · May be fixed by #7106
Closed

Weird formating error with text font and flowing off the page in certain Talk replies #1599

mschwamb opened this issue Sep 19, 2015 · 2 comments · May be fixed by #7106
Assignees
Labels

Comments

@mschwamb
Copy link
Contributor

I've been seeing weird formatting popping up in certain posts on Talk - not sure how it's allowed or happening, since I though the Zooniverse flavor of markdown doesn't have fonts. Mainly it's that it goes off the page horizontally making it hard to read when it does happen.

It might be when the person is on their tablet since they've mentioned they use both a tablet and a computer when classifying on Planet Four

An example:
https://www.zooniverse.org/projects/mschwamb/planet-four-terrains/talk/29/3494/?comment=6783

screen shot 2015-09-19 at 10 08 13 am
screen shot 2015-09-19 at 10 08 17 am

@eatyourgreens
Copy link
Contributor

eatyourgreens commented May 25, 2024

Noting here, for posterity, that you can trigger this by starting a comment with four spaces. Four spaces of indentation creates a code block in Markdown, so Talk is displaying these comments as code (monospaced font and no text wrapping.) See this Talk conversation: https://www.zooniverse.org/talk/17/3355258?comment=5505898

A simple fix would be to trim leading whitespace from comments before parsing them as Markdown.

@eatyourgreens
Copy link
Contributor

#7106 fixes this properly (both the monospaced font and the text wrapping.)

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

Successfully merging a pull request may close this issue.

3 participants