method

links

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Content
links() public

Extracts links from the HTML fragment:

html = '<a href="http://example.com/">Example</a>'
content = ActionText::Content.new(html)
content.links # => ["http://example.com/"]
Show source
Register or log in to add new notes.