Skip to content

Commit 95c9fb8

Browse files
Remove RDoc artifacts [ci-skip]
The documentation in this file was previously converted from RDoc syntax to Markdown syntax, so `+...+` was rendered literally rather than being formatted as monospace. This commit removes that syntax, and consequently auto-links the references.
1 parent 2d18466 commit 95c9fb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actiontext/lib/action_text/content.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def links
5656
@links ||= fragment.find_all("a[href]").map { |a| a["href"] }.uniq
5757
end
5858

59-
# Extracts +ActionText::Attachment+s from the HTML fragment:
59+
# Extracts ActionText::Attachment objects from the HTML fragment:
6060
#
6161
# attachable = ActiveStorage::Blob.first
6262
# html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)
@@ -78,7 +78,7 @@ def gallery_attachments
7878
@gallery_attachments ||= attachment_galleries.flat_map(&:attachments)
7979
end
8080

81-
# Extracts +ActionText::Attachable+s from the HTML fragment:
81+
# Extracts ActionText::Attachable objects from the HTML fragment:
8282
#
8383
# attachable = ActiveStorage::Blob.first
8484
# html = %Q(<action-text-attachment sgid="#{attachable.attachable_sgid}" caption="Captioned"></action-text-attachment>)

0 commit comments

Comments
 (0)