mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 18:28:41 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
13 lines
475 B
Plaintext
13 lines
475 B
Plaintext
Attr.IDPrefix
|
|
TYPE: string
|
|
VERSION: 1.2.0
|
|
DEFAULT: ''
|
|
--DESCRIPTION--
|
|
String to prefix to IDs. If you have no idea what IDs your pages may use,
|
|
you may opt to simply add a prefix to all user-submitted ID attributes so
|
|
that they are still usable, but will not conflict with core page IDs.
|
|
Example: setting the directive to 'user_' will result in a user submitted
|
|
'foo' to become 'user_foo' Be sure to set %HTML.EnableAttrID to true
|
|
before using this.
|
|
--# vim: et sw=4 sts=4
|