Jump to content

User:Quondum/sandbox/brgaps

From Wikipedia, the free encyclopedia

This is a template intended for presenting strings such as long numbers with controlled wrapping points. It inserts allowed line wrap points with an adjustable gap width.

A specific intention of this template is also that copying text copies all the text as a single string without the gaps. This is needed, for example, to avoid unexpected (and often difficult to diagnose) behaviour when copying from a Wikipedia page and pasting into an editor or other application, as might happen if Unicode space characters are part of the copied text.

Parameters:

  • |gap= – gap width (parameter either absent or empty: zero width)

Browser notes:

  • Firefox: works
  • Safari macOS & iOS: works
  • Chrome & Brave: works