diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-19 23:04:59 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-19 23:04:59 (GMT) |
commit | 50cdd97ec4ab11620a5d55d2f760afe51280eb71 (patch) | |
tree | 59946bc7b6707de014d906af3e98440986171c9a /Doc/perl | |
parent | df5d50d8899c6da323bfa4702f37a712bcda1e55 (diff) | |
download | cpython-50cdd97ec4ab11620a5d55d2f760afe51280eb71.zip cpython-50cdd97ec4ab11620a5d55d2f760afe51280eb71.tar.gz cpython-50cdd97ec4ab11620a5d55d2f760afe51280eb71.tar.bz2 |
do_cmd_arabic(): Override the l2h-provided version to remove that
obnoxious <SPAN CLASS="arabic">...</SPAN> markup.
Diffstat (limited to 'Doc/perl')
-rw-r--r-- | Doc/perl/l2hinit.perl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index ec5be08..4ec0fb4 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -221,6 +221,13 @@ sub img_tag { } +sub do_cmd_arabic { + # get rid of that nasty <SPAN CLASS="arabic">...</SPAN> + local($ctr, $val, $id, $_) = &read_counter_value(@_[0]); + return ($val ? &farabic($val) : "0") . $_; +} + + sub gen_index_id { # this is used to ensure common index key generation and a stable sort my($str,$extra) = @_; |