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

HTML versions of 3.x.x incorrectly display some "Style Values" examples #2488

Closed
hkosova opened this issue Mar 2, 2021 · 6 comments
Closed
Assignees
Labels

Comments

@hkosova
Copy link
Contributor

hkosova commented Mar 2, 2021

Compare
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#style-examples
with
https://spec.openapis.org/oas/v3.1.0.html#style-examples

The HTML version displays some characters incorrectly:

  • displays | as ¦
  • displays color[R]=... as color\R=...

The problem is with all 3.x.x HTML versions.

Screenshots:
image

@MikeRalphson
Copy link
Member

Thanks, the pipe character difference is known about, I'm just struggling to remember what particular issue required the workaround.

I will look into the other issue.

@MikeRalphson MikeRalphson self-assigned this Mar 2, 2021
@MikeRalphson
Copy link
Member

@hkosova could you check https://mermade.github.io/static/v3.1.0.html#style-examples to check the issues are fixed and everything else looks ok?

@hkosova
Copy link
Contributor Author

hkosova commented May 13, 2021

Hi @MikeRalphson, sorry for the late reply. The link https://mermade.github.io/static/v3.1.0.html seems to have expired, it's 404. Is there another preview page?

@MikeRalphson
Copy link
Member

Apologies, let me fix that now.

@hkosova
Copy link
Contributor Author

hkosova commented May 13, 2021

@MikeRalphson your fixed version looks OK to me 👍

@MikeRalphson
Copy link
Member

Thanks @hkosova, will PR to fix all published versions.

MikeRalphson added a commit to MikeRalphson/OpenAPI-Specification that referenced this issue May 13, 2021
MikeRalphson added a commit to MikeRalphson/OpenAPI-Specification that referenced this issue May 13, 2021
webron pushed a commit that referenced this issue May 13, 2021
@hkosova hkosova closed this as completed May 14, 2021
darrelmiller pushed a commit that referenced this issue May 20, 2021
…s of the spec (#2574)

* workflows: update used actions

* .

* bikeshed rendering (WIP)

* bikeshed; split into v2, v3 directories

* bikeshed; fixes to TOC,code blocks and indent levels

* bikeshed; work from unmodified .md files

* bikeshed; .gitignore

* bikeshed; separate header for v3.0.1 for now

* respec; as an alternative to bikeshed

* Rename bikeshed to md2html

* md2html; current setup

* md2html; wip

* md2html; fix 1 toc bug

* md2html; fix another toc bug

* md2html; fix 1 respec toc bug

* md2html; fix another bikeshed toc bug

* respec; former editor support - needs ReSpec 20.x

* Latest respec tweaks

* pre block css background, RFC ref fixes

* Github gist syntax highlighting css

* md2html: move to scripts dir

* md2html: resolve relative links for examples

* md2html: use respec js from spec.openapis.org site

* md2html: find gist.css regardless of run dir

* md2html: don't mix https and http content (toc)

* md2html; include google analytics

* md2html; build putative versions 4,5 etc

* md2html; tidying up

* md2html; specify lang="en" in html

* build: update deps

* fix: style examples bugs, refs #2488

* fix: update highlightjs call in md2html

* feat: add github action

Signed-off-by: Mike Ralphson <[email protected]>

* build: create a `latest.html` ReSpec version

Signed-off-by: Mike Ralphson <[email protected]>
char0n pushed a commit to char0n/OpenAPI-Specification that referenced this issue Jul 5, 2021
…s of the spec (OAI#2574)

* workflows: update used actions

* .

* bikeshed rendering (WIP)

* bikeshed; split into v2, v3 directories

* bikeshed; fixes to TOC,code blocks and indent levels

* bikeshed; work from unmodified .md files

* bikeshed; .gitignore

* bikeshed; separate header for v3.0.1 for now

* respec; as an alternative to bikeshed

* Rename bikeshed to md2html

* md2html; current setup

* md2html; wip

* md2html; fix 1 toc bug

* md2html; fix another toc bug

* md2html; fix 1 respec toc bug

* md2html; fix another bikeshed toc bug

* respec; former editor support - needs ReSpec 20.x

* Latest respec tweaks

* pre block css background, RFC ref fixes

* Github gist syntax highlighting css

* md2html: move to scripts dir

* md2html: resolve relative links for examples

* md2html: use respec js from spec.openapis.org site

* md2html: find gist.css regardless of run dir

* md2html: don't mix https and http content (toc)

* md2html; include google analytics

* md2html; build putative versions 4,5 etc

* md2html; tidying up

* md2html; specify lang="en" in html

* build: update deps

* fix: style examples bugs, refs OAI#2488

* fix: update highlightjs call in md2html

* feat: add github action

Signed-off-by: Mike Ralphson <[email protected]>

* build: create a `latest.html` ReSpec version

Signed-off-by: Mike Ralphson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants