diff options
| author | Simon Tatham <anakin@pobox.com> | 2001-12-04 22:45:21 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2001-12-04 22:45:21 +0000 |
| commit | 1327ff7779e53416bbaf4785f21e5eb79095d3d0 (patch) | |
| tree | 2afc7d79af380829685ef7146921cf15313bcffe | |
| parent | 83c420de93875d512b0fa10af57a3d335079a5b6 (diff) | |
| download | halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.zip halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.gz halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.bz2 halibut-1327ff7779e53416bbaf4785f21e5eb79095d3d0.tar.xz | |
Remove the text-mode trappings (_emphasis_ and `code') in the index
terms and section titles. They were unfortunately screwing up index
sorting, so they had to go.
[originally from svn r1455]
| -rw-r--r-- | bk_whlp.c | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -474,14 +474,6 @@ static void whlp_rdaddwc(rdstringc *rs, word *text) { case word_WkCodeQuote: assert(text->type != word_CodeQuote && text->type != word_WkCodeQuote); - if (towordstyle(text->type) == word_Emph && - (attraux(text->aux) == attr_First || - attraux(text->aux) == attr_Only)) - rdaddc(rs, '_'); /* FIXME: configurability */ - else if (towordstyle(text->type) == word_Code && - (attraux(text->aux) == attr_First || - attraux(text->aux) == attr_Only)) - rdaddc(rs, '\x91'); /* FIXME: configurability */ if (removeattr(text->type) == word_Normal) { if (whlp_convert(text->text, &c, FALSE)) rdaddsc(rs, c); @@ -494,14 +486,6 @@ static void whlp_rdaddwc(rdstringc *rs, word *text) { rdaddc(rs, quoteaux(text->aux) == quote_Open ? '\x91' : '\x92'); /* FIXME: configurability */ } - if (towordstyle(text->type) == word_Emph && - (attraux(text->aux) == attr_Last || - attraux(text->aux) == attr_Only)) - rdaddc(rs, '_'); /* FIXME: configurability */ - else if (towordstyle(text->type) == word_Code && - (attraux(text->aux) == attr_Last || - attraux(text->aux) == attr_Only)) - rdaddc(rs, '\x92'); /* FIXME: configurability */ break; } } |