Skip to content

Commit 54b1f71

Browse files
committed
Fixed blockquote issue
1 parent c95ebeb commit 54b1f71

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/components/blockquote.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Expects a string with all ids the span should have.
1414
#### # class (optional)
1515
Expects a string with all classes the span should have.
1616

17-
#### # site (optional)
17+
#### # cite (optional)
1818
Expects a string referencing a cite for the blockquote.
1919

2020
## Example 1: Yield a given block
@@ -36,12 +36,13 @@ returns
3636
## Example 2: Render options[:text] param
3737

3838
```ruby
39-
span id: "foo", class: "bar", cite: "this is a cite", text: 'Hello World'
39+
blockquote id: "foo", class: "bar", cite: "this is a cite", text: 'Hello World'
4040
```
4141

4242
returns
4343

4444
```html
45-
<span cite="this is a cite" id="foo" class="bar">
45+
<blockquote cite="this is a cite" id="foo" class="bar">
4646
Hello World
47-
</span>
47+
</blockquote>
48+
```

0 commit comments

Comments
 (0)