Просмотр исходного кода

Merge pull request #474 from jfmercer/minor-documentation-update

Clarifies and improves language in documentation
tags/v2.2.0
David da Silva Contín 10 лет назад
Родитель
Сommit
b32d425b83
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      README.md

+ 1
- 1
README.md Просмотреть файл

@@ -106,7 +106,7 @@ The most basic tag type is a simple variable. A `{{name}}` tag renders the value

All variables are HTML-escaped by default. If you want to render unescaped HTML, use the triple mustache: `{{{name}}}`. You can also use `&` to unescape a variable.

To print `{{name}}` as a string literal, the default delimiters must be changed. See the ["Set Delimiter'](https://github.com/janl/mustache.js#set-delimiter) section for more information about custom delimiters.
If you want `{{name}}` _not_ to be interpreted as a mustache tag, but rather to appear exactly as `{{name}}` in the output, you must change and then restore the default delimiter. See the ["Set Delimiter'](https://github.com/janl/mustache.js#set-delimiter) section for more information about custom delimiters.

View:



Загрузка…
Отмена
Сохранить