method

links

Importance_1
v7.1.3.2 - Show latest stable - 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.