fix single-char bdword link
This commit is contained in:
parent
a3ceaf9db0
commit
315ebc10f3
|
@ -215,7 +215,7 @@ inline void wrap_html_output(
|
||||||
std::cerr << "Error: Unable to remove a character from the sentence. Exiting to prevent infinite loop." << std::endl;
|
std::cerr << "Error: Unable to remove a character from the sentence. Exiting to prevent infinite loop." << std::endl;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
output_html += "<div class=\"segment\">" + removed_char + "</div>";
|
output_html += "<div class=\"segment\"> <a href=\"bword:" + removed_char + "\">" + removed_char + "</a></div>";
|
||||||
sentence_copy = new_sentence_copy;
|
sentence_copy = new_sentence_copy;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue