diff options
Diffstat (limited to 'lib/sisu/ao_numbering.rb')
-rw-r--r-- | lib/sisu/ao_numbering.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/ao_numbering.rb b/lib/sisu/ao_numbering.rb index c8bafc23..777c5a44 100644 --- a/lib/sisu/ao_numbering.rb +++ b/lib/sisu/ao_numbering.rb @@ -590,7 +590,7 @@ module SiSU_AO_Numbering : @segname tags["#{dob.ocn}"]={ segname: @segname } ocn_html_seg[dob.ocn]=if (dob.is==:heading || dob.is==:heading_insert) - if dob.ln =~/[0-3]/ + if dob.ln.to_s =~/[0-3]/ { seg: nil, level: dob.ln, |