Fix: correct typo and adjust indentation in docstring (#3920)

* fix: correct typo and adjust indentation in docstring

Fixed a small typo in the webview_did_inject_style_into_page docstring and adjusted indentation for consistency.

* Update CONTRIBUTORS
This commit is contained in:
babofitos 2025-04-13 03:00:19 -04:00 committed by GitHub
parent 9d167feb8f
commit 066f5fd281
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 19 additions and 18 deletions

View file

@ -220,6 +220,7 @@ Valerie Enfys <val@unidentified.systems>
Julien Chol <https://github.com/chel-ou> Julien Chol <https://github.com/chel-ou>
ikkz <ylei.mk@gmail.com> ikkz <ylei.mk@gmail.com>
rreemmii-dev <https://github.com/rreemmii-dev> rreemmii-dev <https://github.com/rreemmii-dev>
babofitos <https://github.com/babofitos>
******************** ********************

View file

@ -786,7 +786,7 @@ For example:
def mytest(webview: AnkiWebView): def mytest(webview: AnkiWebView):
if webview.kind != AnkiWebViewKind.DECK_STATS: if webview.kind != AnkiWebViewKind.DECK_STATS:
return return
web.eval( webview.eval(
""" """
div = document.createElement("div"); div = document.createElement("div");
div.innerHTML = 'hello'; div.innerHTML = 'hello';