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) => {
4949
5050 // underline links
5151 r . link = ( uri ) => {
52- return chalk . underline ( uri ) ;
52+ return uri ;
5353 } ;
5454
5555 // 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', () => {
2929 page . description . should . eql ( 'archiving utility\nwith support for compression' ) ;
3030 } ) ;
3131
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+
3241 it ( 'does not escape HTML entities' , ( ) => {
3342 let page = parser . parse ( `
3443# tar
You can’t perform that action at this time.
0 commit comments