Skip to content

Conversation

@mishig25
Copy link
Contributor

@mishig25 mishig25 commented Sep 27, 2023

Problem

With #401, we are escaping { so that it gets treated as string rather than inline svelte js. However, that caused line below to get treated as literal string rather than js

Solution

Escape {, < only in user written markdown doc. Don't escape for svelte components (i.e. treat { as regular svelte inline js)

mishig25 added a commit to huggingface/course that referenced this pull request Sep 27, 2023
@mishig25 mishig25 merged commit 5f9a036 into main Sep 27, 2023
@mishig25 mishig25 deleted the make_escaping_better branch September 27, 2023 13:41
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

Successfully merging this pull request may close these issues.

2 participants