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

Enhancement: Ability to decode as well as encode #19

Open
kylewolfe opened this issue Jun 6, 2014 · 2 comments
Open

Enhancement: Ability to decode as well as encode #19

kylewolfe opened this issue Jun 6, 2014 · 2 comments

Comments

@kylewolfe
Copy link

I am currently working on a project and would love to add this functionality to it. However, I will be rolling out multiple ways in which you can edit (WYSIWYG) which means that I need to store the raw html and be able to convert that HTML back to gold format.

I'd be happy to fork and put some work in to this if it is a direction you want to go, however I do not have experience yet parsing HTML in Go, and I know the encoding/xml package may have issues with it.

Thoughts?

@yosssi
Copy link
Owner

yosssi commented Jun 6, 2014

Thanks for your comment. So, you want to convert HTML source code to Gold format source code in Go? If so, I will think of the way for implementing this feature.

@yosssi
Copy link
Owner

yosssi commented Jun 6, 2014

This package parses HTML source code and generates formatted HTML source code. I think the decoder you want could be implemented by using & extending this package. Continue to think of this feature.

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