DistributedProofreaders / guiguts

Perl/Tk text editor designed for editing and formatting public domain material for inclusion at Project Gutenberg
GNU General Public License v2.0
9 stars 10 forks source link

Support bold/italic page numbers in AutoIndex #1286

Closed windymilla closed 11 months ago

windymilla commented 11 months ago

If page number was marked bold or italic, the autoindexing code did not convert it to a hyperlink.

Also, after using a capture group to capture the whole page number including any bold/italic markup, it was easier to combine the single page and page range cases into one regex.