aboutsummaryrefslogtreecommitdiff
path: root/files/ru/glossary/speculative_parsing/index.html
diff options
context:
space:
mode:
authorChris Mills <cmills@mozilla.com>2021-03-15 20:44:30 +0000
committerGitHub <noreply@github.com>2021-03-15 20:44:30 +0000
commit571c6f125b0fcf580fb42fd0cdb25c152724d738 (patch)
tree9019116dd590d1eebe782fde7d695bedae844dd3 /files/ru/glossary/speculative_parsing/index.html
parent1bbb4d9683edd28fc947b17804e5b882184ecfcb (diff)
parent55ddd4454665a3c66e3d5b186bc79048468d36e7 (diff)
downloadtranslated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.tar.gz
translated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.tar.bz2
translated-content-571c6f125b0fcf580fb42fd0cdb25c152724d738.zip
Merge pull request #174 from mdn/lex111/ru-typos
Fix typos in Russian translation
Diffstat (limited to 'files/ru/glossary/speculative_parsing/index.html')
-rw-r--r--files/ru/glossary/speculative_parsing/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ru/glossary/speculative_parsing/index.html b/files/ru/glossary/speculative_parsing/index.html
index 68c99dfe38..975dbd7ccb 100644
--- a/files/ru/glossary/speculative_parsing/index.html
+++ b/files/ru/glossary/speculative_parsing/index.html
@@ -28,7 +28,7 @@ original_slug: Web/HTML/Optimizing_Your_Pages_for_Speculative_Parsing
<ul>
<li>Не пишите незаконченные древа. Вместо <code>&lt;script&gt;document.write("&lt;div&gt;");&lt;/script&gt;</code> лучше написать <code>&lt;script&gt;document.write("&lt;div&gt;&lt;/div&gt;");&lt;/script&gt;</code>.</li>
<li>Не пишите незаконченные теги. Не стоит писать <code>&lt;script&gt;document.write("&lt;div&gt;&lt;/div");&lt;/script&gt;</code>.</li>
- <li>Не заканчивайте строку возратной кареткой (<code>\r</code>). Вместо <code>&lt;script&gt;document.write("Hello World!\r");&lt;/script&gt;</code> лучше написать <code>&lt;script&gt;document.write("Hello World!\n");&lt;/script&gt;</code>.</li>
+ <li>Не заканчивайте строку возрастной кареткой (<code>\r</code>). Вместо <code>&lt;script&gt;document.write("Hello World!\r");&lt;/script&gt;</code> лучше написать <code>&lt;script&gt;document.write("Hello World!\n");&lt;/script&gt;</code>.</li>
<li>Заметьте, что написание законченных тегов может повлиять на другие теги так, что они станут незаконченными. В том числе, <code>&lt;script&gt;document.write("&lt;div&gt;&lt;/div&gt;");&lt;/script&gt;</code> внутри <code>&lt;head&gt;</code> будет интерпретировано как <code>&lt;script&gt;document.write("&lt;/head&gt;&lt;body&gt;&lt;div&gt;&lt;/div&gt;");&lt;/script&gt;</code>, что повлияет на <code>&lt;head&gt;</code> так, что он станет незаконченным.</li>
<li>Не форматируйте часть таблицы. Вместо <code>&lt;table&gt;&lt;script&gt;document.write("&lt;tr&gt;&lt;td&gt;Hello World!&lt;/td&gt;&lt;/tr&gt;");&lt;/script&gt;&lt;/table&gt;</code> лучше написать <code>&lt;script&gt;document.write("</code><code>&lt;table&gt;</code><code>&lt;tr&gt;&lt;td&gt;Hello World!&lt;/td&gt;&lt;/tr&gt;</code><code>&lt;/table&gt;</code><code>");&lt;/script&gt;</code>.</li>
</ul>