Put <a> href value in quotes

This commit is contained in:
Ivan Skytte Jørgensen
2017-02-06 15:17:40 +01:00
parent 589c450fcb
commit aa91a1b495

@ -2394,13 +2394,13 @@ bool printResult ( State0 *st, int32_t ix , int32_t *numPrintedSoFar ) {
// the a href tag
if ( si->m_format == FORMAT_HTML ) {
sb->safePrintf ( "<a href=" );
sb->safePrintf ( "<a href=\"" );
// truncate off -diffbotxyz%" PRId32"
int32_t newLen = urlLen;
// print the url in the href tag
sb->safeMemcpy ( url , newLen );
// then finish the a href tag and start a bold for title
sb->safePrintf ( ">");
sb->safePrintf ( "\">");
}