Changeset 718
- Timestamp:
- 09/15/06 15:23:06 (2 years ago)
- Files:
-
- 1 modified
-
Branches/2.1/core/js/Formatter.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Branches/2.1/core/js/Formatter.js
r717 r718 493 493 { 494 494 name: "strikeByChar", 495 match: "-- ",496 termRegExp: /( --)/mg,495 match: "--(?!\\s|$)", 496 termRegExp: /((?!\s)--|(?=\n\n))/mg, 497 497 element: "strike", 498 498 handler: config.formatterHelpers.createElementAndWikify … … 557 557 558 558 { 559 name: "mdash", 560 match: "--", 561 handler: function(w) 562 { 563 createTiddlyElement(w.output,"span").innerHTML = "&mdash"; 564 } 565 }, 566 567 { 559 568 name: "htmlEntitiesEncoding", 560 569 match: "(?:(?:&#?[a-zA-Z0-9]{2,8};|.)(?:&#?(?:x0*(?:3[0-6][0-9a-fA-F]|1D[c-fC-F][0-9a-fA-F]|20[d-fD-F][0-9a-fA-F]|FE2[0-9a-fA-F])|0*(?:76[89]|7[7-9][0-9]|8[0-7][0-9]|761[6-9]|76[2-7][0-9]|84[0-3][0-9]|844[0-7]|6505[6-9]|6506[0-9]|6507[0-1]));)+|&#?[a-zA-Z0-9]{2,8};)",
