Skip to content

Commit 302db96

Browse files
oubeichenjpic
authored andcommitted
Fix the issue of invisible JavaScript code blocks in tutorial.rst.
Missing these spaces caused the JavaScript code blocks in the tutorial to not display properly, leading to confusion.
1 parent 7d7459b commit 302db96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ non-standard fields DAL logic could be not good enough. For these cases DAL
671671
provides a way to customize forwarding logic using JS callbacks. You can
672672
register JS forward handler on your page:
673673
674-
.. code-block::javascript
674+
.. code-block:: javascript
675675
676676
// autocompleteElem here is an HTML element for autocomplete field
677677
yl.registerForwardHandler("my_awesome_handler", function (autocompleteElem) {
@@ -714,7 +714,7 @@ For the purpose of understanding the logic: you can implement forwarding of
714714
some standard field by yourself as follows (you probably should never write this
715715
code yourself):
716716
717-
.. code-block::javascript
717+
.. code-block:: javascript
718718
719719
yl.registerForwardHandler("poormans_field_forward",
720720
function (elem) {

0 commit comments

Comments
 (0)