Fix HTML tag mismatches in Action Text README [ci skip]
This commit is contained in:
parent
93e5388653
commit
4c1cf12ab1
@ -172,7 +172,7 @@ Next, consider some rich text content that embeds an `<action-text-attachment>`
|
||||
element that references the `User` instance's signed GlobalID:
|
||||
|
||||
```html
|
||||
<p>Hello, <action-text-attachment sgid="BAh7CEkiCG…"></action-text-content>.</p>
|
||||
<p>Hello, <action-text-attachment sgid="BAh7CEkiCG…"></action-text-attachment>.</p>
|
||||
```
|
||||
|
||||
Action Text resolves uses the "BAh7CEkiCG…" String to resolve the `User`
|
||||
@ -186,7 +186,7 @@ instance. Next, consider the application's `users/user` partial:
|
||||
The resulting HTML rendered by Action Text would look something like:
|
||||
|
||||
```html
|
||||
<p>Hello, <action-text-attachment sgid="BAh7CEkiCG…"><span><img src="..."> Jane Doe</span></action-text-content>.</p>
|
||||
<p>Hello, <action-text-attachment sgid="BAh7CEkiCG…"><span><img src="..."> Jane Doe</span></action-text-attachment>.</p>
|
||||
```
|
||||
|
||||
To render a different partial, define `User#to_attachable_partial_path`:
|
||||
|
Loading…
Reference in New Issue
Block a user