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

challenge_fetcher: Newline replacements are a bit wonky #4

Open
Tracked by #9
NathanielJS1541 opened this issue Jun 15, 2024 · 1 comment
Open
Tracked by #9

challenge_fetcher: Newline replacements are a bit wonky #4

NathanielJS1541 opened this issue Jun 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NathanielJS1541
Copy link
Owner

The README files sometimes don't properly mimic the Project Euler pages due to the placement (or lack thereof) of newlines. An example would be the markdown for problem 39, which does not have newlines around the following LaTeX expression:
${20,48,52}$, ${24,45,51}$, ${30,40,50}$

@NathanielJS1541
Copy link
Owner Author

Newline replacements are now fixed, but the test against Challenge 39 is still failing due to bad escaping of the curly braces {} in the output. This prevents the LaTeX from rendering correctly.

This is the current output:

$\{20,48,52\}$, $\{24,45,51\}$, $\{30,40,50\}$

Which renders as follows:
${20,48,52}$, ${24,45,51}$, ${30,40,50}$

Escaped correctly it should be this:

$\\{20,48,52\\}$, $\\{24,45,51\\}$, $\\{30,40,50\\}$

Which renders like this:
$\{20,48,52\}$, $\{24,45,51\}$, $\{30,40,50\}$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant