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

Corrupted docs for WebKit register_script_message_handler method #116

Open
craigbarnes opened this issue Aug 31, 2017 · 2 comments
Open

Comments

@craigbarnes
Copy link

craigbarnes commented Aug 31, 2017

The documentation for WebKit.UserContentManager.register_script_message_handler seems to have some kind of corrupted xml tags mingled into the text. I'm not sure where the correct place to report this bug is, but the problem doesn't seem to exist in the upstream WebKit doc comments. Looking at the HTML, it looks more like some kind of line-wrapping or post-processing is to blame.

@craigbarnes craigbarnes changed the title Corrupted docs for WebKit.UserContentManager.register_script_message_handler Corrupted docs for WebKit register_script_message_handler method Aug 31, 2017
@benwaffle
Copy link
Member

Looks like its doubly encoded here:

Registers a new user script message handler. After it is registered,
scripts can use `window.webkit.messageHandlers.<name>.postMessage(value)`

@benwaffle
Copy link
Member

It looks fine in the gtk-doc output

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