mirror of https://github.com/python/cpython
do_cmd_arabic(): Override the l2h-provided version to remove that
obnoxious <SPAN CLASS="arabic">...</SPAN> markup.
This commit is contained in:
parent
df5d50d889
commit
50cdd97ec4
|
@ -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) = @_;
|
||||
|
|
Loading…
Reference in New Issue