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

documentation pages, html format issue #2

Closed
tst2005 opened this issue Nov 16, 2015 · 2 comments
Closed

documentation pages, html format issue #2

tst2005 opened this issue Nov 16, 2015 · 2 comments

Comments

@tst2005
Copy link

tst2005 commented Nov 16, 2015

Found in the http://scilua.org/xsys.html page

The following sample ...

local totrim = "  LuaJIT "
print("<"..totrim..">")                   --> <  LuaJIT >
print("<"..xsys.string.trim(totrim)..">") --> 

... should be displayed ...

local totrim = "  LuaJIT "
print("<"..totrim..">")                   --> <  LuaJIT >
print("<"..xsys.string.trim(totrim)..">") --> <LuaJIT>

The missing <LuaJIT> is due to a html format issue.
All < and > must be transformed to &lt; and &gt;

You should see all issue in this report

Best Regards,

@stepelu
Copy link
Owner

stepelu commented Nov 18, 2015

I thought that https://github.com/google/code-prettify would handle this.

I tried with a javascript solution to escape all the problematic characters, but this results in code-prettify printing the escapes....that's possibly due to to the two being executed in wrong order.

I'll look into it as soon as I have some time, thank your for reporting.

@stepelu
Copy link
Owner

stepelu commented Aug 10, 2016

Forgot about this one, this is solved in the new version of the website.

@stepelu stepelu closed this as completed Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants