1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 11:13:15 +00:00
TiddlyWiki5/core/modules
Simon Huber 69d3a47073 Add escapecss filter (#3546)
* add escapecss filter

this filter would allow creating valid css classes from titles containing special characters

we assign a class to an element using `encodeuricomponent[]` so that the class name is encoded

in a stylesheet we create the classname by `<title>escapecss[]` which applies the uri encoding and escapes characters that need to be escaped

* Update encodings.js

* refactor tagToCssSelector, add escapeCssSelector

* use escapeCssSelector

* escape using CSS.escape if it's available

* Update encodings.js

* revert factoring out escapeCssSelector
2019-06-26 12:32:01 +01:00
..
commands Add new deletetiddlers command 2019-05-30 16:54:57 +01:00
editor Adding optional tabindex attr to simple, framed and cm engines (#3756) 2019-02-08 16:11:39 +00:00
filters Add escapecss filter (#3546) 2019-06-26 12:32:01 +01:00
indexers Add indexes to the wiki store to improve performance (#3951) 2019-05-24 21:07:37 +01:00
info Add $:/info/browser/language to the info mechanism 2019-03-07 18:42:49 +00:00
macros Refactor the dumpvariables macro as wikitext 2019-03-30 10:52:49 +00:00
parsers Add new "\import" pragma 2018-09-28 16:01:32 +01:00
savers GitHub Saver: Fix ServerURL name 2019-04-16 10:15:58 +01:00
server Server: Avoid displaying "undefined" for missing path prefix 2019-03-01 18:28:51 +00:00
startup CSS.escape as startup module (#3574) 2019-06-26 12:31:22 +01:00
storyviews Pop storyview: animation - don't x-overflow page (#3857) 2019-06-26 11:50:52 +01:00
upgraders Don't allow $:/Import tiddler to be imported 2019-03-01 17:39:42 +00:00
utils Fix sentencecase operator, add titlecase operator (#4006) 2019-06-21 08:24:02 +01:00
widgets Use default link text when link widget has no content 2019-06-10 21:04:21 +01:00
commander.js Module-ize server routes, add static file support and other enhancements(#2679) 2018-07-18 16:54:43 +01:00
config.js Move the wikilink regexps into global config 2014-11-26 11:12:25 +00:00
deserializers.js Add support for JSON files containing a single tiddler 2017-03-17 14:19:43 +00:00
filters.js Add support for = prefix for filter runs that doesn't remove duplicates 2019-06-10 17:54:20 +01:00
keyboard.js Add support for global keyboard shortcuts (#3493) 2018-11-06 13:34:51 +00:00
language.js Make lazy loading message be translateable 2015-09-08 10:41:27 +01:00
pluginswitcher.js Add experimental support for RTL languages 2016-08-15 19:47:26 +01:00
saver-handler.js SaverHandler: Don't generate file if autosave disabled 2019-03-05 15:43:14 +00:00
story.js Fix issues with creation and modification dates 2015-09-11 13:34:01 +01:00
syncer.js Syncer: support configurable polling interval 2018-10-19 16:32:23 +01:00
tiddler.js Ensure tiddler.getFieldStringBlock uses a deterministic ordering 2019-04-14 14:23:49 +01:00
wiki-bulkops.js Add several new hooks for UI actions 2017-02-09 15:42:55 +00:00
wiki.js Improve action-createtiddler to return a draft title too 2019-06-04 12:33:01 +01:00