Closed dwp-forge closed 9 years ago
The note names are constrained is by design[1]. This is done in order to minimize false
positives. For example, one can have a date as the note text [(May-19-2011)].
I will consider improving name detection logic in future versions, and maybe it will
allow to release the constrains.
[1] http://www.dokuwiki.org/plugin:refnotes:syntax#named_notes
Original issue reported on code.google.com by dwp-forge
on 2011-05-19 09:08:53
Thank you for your feedback. I totally understand your concern. For now, is there some
quick hack in the source code I could do to disable this constraint in my version -
I am using refnotes solely for database references, no text footnotes.
Stian
Original issue reported on code.google.com by shaklev
on 2011-05-19 09:51:28
In the next release fully-qualified note names (start with colon) will allow the following
characters:
.&()[]{}+-
The same rule also applies to references that define a note (both simple "[(n-1>Text)]"
and structured "[(n-2>page:42)]") and notes in the reference database. So it should
be possible to have a database note "Smith&Jones(2012)" and reference it on a page
as "[(:Smith&Jones(2012))]."
Namespace names are still limited to alphanumeric characters and underscores. They
are used as part of element identifiers in generated HTML, so there are only few characters
that can be added without breaking HTML. Though dashes are allowed in HTML id's, I
don't think it's worth the trouble.
Implemented in r486.
Original issue reported on code.google.com by dwp-forge
on 2012-05-13 17:10:11
Original issue reported on code.google.com by
shaklev
on 2011-05-19 08:32:29