瀏覽代碼

Update docs/extending/rich_text_internals.md

Co-authored-by: Dan Braghiș <dan@zerolab.org>
Andy Chosak 1 年之前
父節點
當前提交
47f0e533b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/extending/rich_text_internals.md

+ 1 - 1
docs/extending/rich_text_internals.md

@@ -125,7 +125,7 @@ You can create custom rewrite handlers to support your own new `linktype` and `e
         Optional. The classmethod ``get_many`` method works similarly to ``get_instance`` but instead takes a list of attribute dictionaries and returns a list of Django model instances.
 ```
 
-Below is an example custom rewrite handler that implements some of these methods to add support for rich text linking to user email addresses. It supports the conversion of rich text tags like ``<a linktype="user" username="wagtail">`` to valid HTML like ``<a href="mailto:hello@wagtail.org">``. This example assumes that equivalent front-end functionality has been added to allow users to insert these kinds of links into their rich text editor.
+Below is an example custom rewrite handler that implements some of these methods to add support for rich text linking to user email addresses. It supports the conversion of rich text tags like `<a linktype="user" username="wagtail">` to valid HTML like `<a href="mailto:hello@wagtail.org">`. This example assumes that equivalent front-end functionality has been added to allow users to insert these kinds of links into their rich text editor.
 
 ```python
 from django.contrib.auth import get_user_model