Skip to content

Commit 04d3f97

Browse files
author
Povilas Kanapickas
committed
Transform/DDG: do not write anything more than an URL in the URL section
1 parent 756c728 commit 04d3f97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index2ddg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def build_abstract(decls, desc):
299299
abstract = abstract.replace('\n','\\n')
300300
line += abstract + '\t'
301301
# source url
302-
line += '[http://en.cppreference.com/w/' + link + ' Cppreference]\n'
302+
line += 'http://en.cppreference.com/w/' + link + '\n'
303303
out.write(line)
304304
except DdgException as err:
305305
if debug:

0 commit comments

Comments
 (0)