dud/contao-r-sup

Replaces (R) and ® with superscript ® in Contao frontend output.

Maintainers

Package info

github.com/drum-und-dran/contao-r-sup

Type:contao-bundle

pkg:composer/dud/contao-r-sup

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.3 2026-04-09 14:23 UTC

This package is auto-updated.

Last update: 2026-04-09 14:23:51 UTC


README

Replaces occurrences of (R), (r) and ® with a superscript <sup>®</sup> in the Contao frontend output.

Features

  • Converts (R) and (r) to ®
  • Wraps all ® characters in <sup> tags
  • DOM-based processing (safe for HTML structure)
  • Ignores <script> and <style> elements
  • Works across:
    • content elements
    • navigation
    • frontend modules

Requirements

  • Contao 5.7+
  • PHP 8.2+

Installation

Install via Composer:

composer require dud/contao-r-sup