Skip to content

Commit

Permalink
[All Langs]Fix inline code (HtmlHelper)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenkoma committed Jul 23, 2018
1 parent 7ac867c commit f3da223
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion en/views/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ When loading files of templates, your file should look like::
Template strings containing a percentage sign (``%``) need special attention,
you should prefix this character with another percentage so it looks like
``%%``. The reason is that internally templates are compiled to be used with
``sprintf()``. Example: '<div style="width:{{size}}%%">{{content}}</div>'
``sprintf()``. Example: ``<div style="width:{{size}}%%">{{content}}</div>``

Creating Breadcrumb Trails with HtmlHelper
==========================================
Expand Down
2 changes: 1 addition & 1 deletion fr/views/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ Lors du chargement des fichiers de templates, votre fichier ressemblera à::
une attention spéciale, vous devriez préfixer ce caractère avec un autre
pourcentage pour qu'il ressemble à ``%%``. La raison est que les templates
sont compilés en interne pour être utilisé avec ``sprintf()``.
Exemple: '<div style="width:{{size}}%%">{{content}}</div>'
Exemple: ``<div style="width:{{size}}%%">{{content}}</div>``

Création d'un chemin de navigation avec le Helper Html
======================================================
Expand Down
2 changes: 1 addition & 1 deletion ja/views/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ HtmlHelper によるタグ出力の変更
パーセント記号 (``%``) を含むテンプレート文字列には特別な注意が必要です。
この文字の先頭に ``%%`` のようにもう一つパーセンテージを付ける必要があります。
なぜなら、内部的なテンプレートは ``sprintf()`` で使用されるためにコンパイルされているからです。
例: '<div style="width:{{size}}%%">{{content}}</div>'
例: ``<div style="width:{{size}}%%">{{content}}</div>``

HtmlHelper でパンくずリストを作成
=================================
Expand Down
2 changes: 1 addition & 1 deletion ru/views/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ icon image/x-icon
Строки шаблонов, содержащие знак процента (``%``), требуют особого внимания.
Вы должны приписать этому символу еще один процент, чтобы он выглядел так ``%%``.
Причина в том, что внутренние шаблоны скомпилированы для использования с методом
``sprintf()``. Пример: '<div style = "width: {{size}} %%"> {{content}} </ div>'
``sprintf()``. Пример: ``<div style="width:{{size}}%%">{{content}}</div>``

Создание дорожки из хлебных крошек с помощью HtmlHelper
=======================================================
Expand Down
2 changes: 1 addition & 1 deletion tl/views/helpers/html.rst
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ When loading files of templates, your file should look like::
Template strings containing a percentage sign (``%``) need special attention,
you should prefix this character with another percentage so it looks like
``%%``. The reason is that internally templates are compiled to be used with
``sprintf()``. Example: '<div style="width:{{size}}%%">{{content}}</div>'
``sprintf()``. Example: ``<div style="width:{{size}}%%">{{content}}</div>``

Creating Breadcrumb Trails with HtmlHelper
==========================================
Expand Down

0 comments on commit f3da223

Please sign in to comment.