Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a40abe5bae7e994c

Jump to content

Template talk:Overunderset

Page contents not supported in other languages.
Add topic

The {{overset}}, {{underset}}, {{overunderset}} templates work incorrectly with the "→", "←" and "⇌" characters (e.g. in chemical reactions)

[edit]

The {{overset}}, {{underset}}, {{overunderset}} templates work incorrectly with the "→", "←", "⇌" and similar chemical reaction arrow characters when representing chemical reactions, making those three templates unusable in chemistry. For example

:{{chem2|CrCl3}} {{overunderset|→|CO|Reductant}} {{chem2|Cr(CO)6}}

gives

CrCl3 CO→Reductant Cr(CO)6

As you can see, the arrow is too short. It should be as long as the over and underset text! Although there is no such bug in the <chem> element so one can say "Well well well! Why you don't use the <chem> element which is already designed for chemistry???", or "Why you don't use the <math> element???". You are right, but still, I wuld like the bug to be corrected in the {{overset}}, {{underset}}, {{overunderset}} templates as well. Can someone correct this annoying bug and improve those three templates, to work fine just as the <chem> and <math>elements? Bernardirfan (talk) 15:59, 18 October 2023 (UTC)Reply