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

When converting examples output shows new line identifier. #30

Open
Kailouu opened this issue Feb 14, 2020 · 2 comments
Open

When converting examples output shows new line identifier. #30

Kailouu opened this issue Feb 14, 2020 · 2 comments

Comments

@Kailouu
Copy link

Kailouu commented Feb 14, 2020

When converting, running this on our yaml spec, we have a few code examples that when converted to html are not encoding new lines and are outputting as a single line with a bunch of \n .

@Kailouu
Copy link
Author

Kailouu commented Feb 14, 2020

example: > { "events": [ { "id": "6cf2bdc6-9baa-11e8-X8d0-529269fb1431", "name": "user.lifecycle.create", "version": "3", "target": "urn:sso:user.00a2941ss1", "targetType": "user.profile", "action": "created"

becomes

`"{\n "events": [\n {\n "id": "6cf2abs6-9baa-11x8-98d0-529269fb1459",\n "name": "user.lifecycle.create",\n "version": "3",\n "target": "urn:sso:user.00aX9u44s1",\n "targetType": "user.profile",\n "action": "created",\n``

@tobilg
Copy link
Owner

tobilg commented Apr 4, 2020

Sorry for the late feedback, this seems like an upstream problem to me from shins/widdershins

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