1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-29 05:24:57 +03:00

Merge pull request #71 from zedlopez/indoc_general_index_see_spacing

initial commit indoc_general_index_see_spacing
This commit is contained in:
Graham Nelson 2022-09-04 19:12:57 +01:00 committed by GitHub
commit 29731ea841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -689,8 +689,8 @@ int Indexes::sort_comparison(const void *ent1, const void *ent2) {
if (Str::len(seelist) > 0) {
if (lc > 0) WRITE("; ");
HTML_OPEN_WITH("span", "class=\"indexsee\"");
WRITE("see");
if (lc > 0) WRITE(" also");
WRITE("see ");
if (lc > 0) WRITE("also ");
HTML_CLOSE("span");
match_results mr2 = Regexp::create_mr();
while (Regexp::match(&mr2, seelist, L"(%c*?) *<-- *(%c*)")) {