diff --git a/lib/editor/atto/plugins/html/thirdpartylibs.xml b/lib/editor/atto/plugins/html/thirdpartylibs.xml
index 87997eb7edc..8f154944a9c 100644
--- a/lib/editor/atto/plugins/html/thirdpartylibs.xml
+++ b/lib/editor/atto/plugins/html/thirdpartylibs.xml
@@ -11,7 +11,7 @@
yui/src/beautify
jsbeautify
MIT
- 1.7.5
+ 1.13.0
diff --git a/lib/editor/atto/plugins/html/yui/src/beautify/readme_moodle.txt b/lib/editor/atto/plugins/html/yui/src/beautify/readme_moodle.txt
index bbc4e23dac5..29fc6d13959 100644
--- a/lib/editor/atto/plugins/html/yui/src/beautify/readme_moodle.txt
+++ b/lib/editor/atto/plugins/html/yui/src/beautify/readme_moodle.txt
@@ -1,8 +1,7 @@
Description of importing the js-beautify library into Moodle.
-* git clone https://github.com/einars/js-beautify
-* check out the relevant release tag
-* copy lib/beautify*.js into lib/yui/src/beautify/js
-* copy LICENSE into lib/yui/src/beautify
-* update lib/thirdpartylibs.xml
-* rebuild the module
+* Download the latest version from https://github.com/beautify-web/js-beautify/releases
+* Copy lib/beautify*.js into lib/yui/src/beautify/js
+* Copy LICENSE into lib/yui/src/beautify
+* Update lib/thirdpartylibs.xml
+* Rebuild the module