FLUID-5712: Create a helper which adds link-external class to links with http:// preceding it

Metadata

Source
FLUID-5712
Type
Bug
Priority
Major
Status
Closed
Resolution
Duplicate
Assignee
N/A
Reporter
Jonathan Hung
Created
2015-07-21T09:56:37.726-0400
Updated
2015-12-14T08:24:42.923-0500
Versions
N/A
Fixed Versions
N/A
Component
  1. Design Handbooks
  2. Tech. Documentation

Description

Create a helper function which takes a link with "http://" in markdown and apply the class ".link-external" to it when generating output.

For example:
(Link 1)http://www.example.com = <a href="http://www.example.com" class="link-external">Link1</a>
(Link 2)/foo.html = <a href="/foo.html">Link 2</a>

Comments