File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ exports.parse = (markdown) => {
49
49
50
50
// underline links
51
51
r . link = ( uri ) => {
52
- return chalk . underline ( uri ) ;
52
+ return uri ;
53
53
} ;
54
54
55
55
// paragraphs just pass through (automatically created by new lines)
Original file line number Diff line number Diff line change @@ -29,6 +29,15 @@ describe('Parser', () => {
29
29
page . description . should . eql ( 'archiving utility\nwith support for compression' ) ;
30
30
} ) ;
31
31
32
+ it ( 'can parse the homepage' , ( ) => {
33
+ let page = parser . parse ( `
34
+ # tar
35
+ > archiving utility
36
+ > Homepage: <https://www.gnu.org/software/tar/manual/tar.html>.`
37
+ ) ;
38
+ page . description . should . eql ( 'archiving utility\nHomepage: https://www.gnu.org/software/tar/manual/tar.html.' ) ;
39
+ } ) ;
40
+
32
41
it ( 'does not escape HTML entities' , ( ) => {
33
42
let page = parser . parse ( `
34
43
# tar
You can’t perform that action at this time.
0 commit comments