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

Copy Source display doesn't display all source code #62

Open
mertoldi opened this issue Feb 5, 2016 · 6 comments
Open

Copy Source display doesn't display all source code #62

mertoldi opened this issue Feb 5, 2016 · 6 comments

Comments

@mertoldi
Copy link

mertoldi commented Feb 5, 2016

Hello,

When clicking copy source for the following [http://fssnip.azurewebsites.net/U] , the resulting copy source dialog is missing content from line 6 , .

If I do the same with raw view the code is shown correctly.

Regards Michael

@tpetricek
Copy link
Member

Looks like we're missing some HTML Encode call somewhere! Thanks for reporting this!

In case you wanted to look into this & contribute, I think we probably need HTML encode in the JS here: https://github.com/fssnippets/fssnip-website/blob/master/web/content/app/copycontent.js#L41

@mertoldi
Copy link
Author

mertoldi commented Feb 8, 2016

I can look into this , how do I go about sorting out an issue as I've never done one before. Is there any documentation I can read.

@Rodhern
Copy link

Rodhern commented Feb 22, 2016

I don't know if you can benefit from another example, but in case you can, here is one. In http://fssnip.net/8qR there is a line that says:
let positionstream: KRPC.Client.Stream<float*float*float> =
but the <float*float*float>-part is stripped out when using copy source.

@Rodhern
Copy link

Rodhern commented Mar 25, 2016

Hmm, this was even more strange, now my snippet has disappeared. It was at http://fssnip.net/8qR earlier.

@Rodhern
Copy link

Rodhern commented Apr 16, 2016

I reuploaded the example. It is at http://fssnip.net/7Pi now.

@tpetricek
Copy link
Member

Thanks and sorry about the trouble!

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

3 participants