[docutils:feature-requests] #66 allow more characters when transforming "names" to "ids".
Günter Milde via Docutils-develop <[email protected]>
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/feature-requests/66/40d84902479de6ea8ac1bd2c426771a01fa025b7.feature-requests@docutils.p.sourceforge.net> |
On 2024-03-25, a user posted a request to [docutils-develop](http://sourceforge.net/mailarchive/forum.php?forum_name=docutils-develop) with a use case where the identifier-normalization of class names stands in the way:
> I've recently started using Plausible for analytics tracking. Unfortunately
their naming schema for custom events is incompatible with docutils CSS
class normalization, since Plausible relies on either "=" or "--" for
naming custom events ([plausible docs](https://plausible.io/docs/custom-event-goals#you-can-also-add-class-names-directly-in-html)).
>
>Reading through the rationale for the chosen [normalization](https://docutils.sourceforge.io/docs/ref/rst/directives.html#identifier-normalization),
why is "=" excluded? Would an update ever be considered where "=" was
allowed in class names for docutils?
---
**[feature-requests:#66] allow more characters when transforming "names" to "ids".**
**Status:** pending
**Group:** Default
**Created:** Mon Sep 30, 2019 05:30 PM UTC by Roland Puntaier
**Last Updated:** Mon Aug 24, 2020 08:37 PM UTC
**Owner:** David Goodger
`` encloses a role. There is a default role, else :<role>:`text`
_ in front, is the special target role. For one word the backtick can be dropped.
_`__init__` should produce a target named "__init__".
But instead the produced target is "init".
The backtick avoids ambiguity. There is no need for this behavior.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.