]> granicus.if.org Git - python/commitdiff
do_cmd_arabic(): Override the l2h-provided version to remove that
authorFred Drake <fdrake@acm.org>
Fri, 19 Feb 1999 23:04:59 +0000 (23:04 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 19 Feb 1999 23:04:59 +0000 (23:04 +0000)
obnoxious <SPAN CLASS="arabic">...</SPAN> markup.

Doc/perl/l2hinit.perl

index ec5be08cd549b58aaef0c4d95e43b81e726b0a1c..4ec0fb478b8047017c3b81ee095bb49c2b7aa015 100644 (file)
@@ -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) = @_;