• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Specifically:

   * *Entities*
      * Set AMP = &
      * Set NDASH = –
      * Set MDASH = —
      * Set LSQUO = ‘
      * Set RSQUO = ’
      * Set DQUO = “
      * Set RDUO = ”

This will make it easier for people who care about typography to do:

“This is a quotation from so and so”

“This is a quotation from so and so“


where do you have to use & instead of & ?

however, wouldn't it be nicer if you could just type: ``This is a quotation...''  -- Author ?

TWiki:Plugins.TypographyPlugin tries to do these sorts of character and string remappings, but fails in at least two ways:

  1. the code just seems bugs
  2. its fight with the core about what --- means (personally, i wish it could mean an emdash and i use 4 =-='s for hlines, but...)

also, for producing beautiful typesetting, this sure seems like an ugly mechanism. (yes, i realise you're only working with what twiki provides). perhaps this bug report should just be "fix TypographyPlugin"?

WN

Indeed, that would do it. Besides the --- problem, my regex experience is nowhere near good enough to fix this one.

ML

ItemTemplate
Summary Add common HTML entities to TWikiPreferences and/or fix TypographyPlugin
ReportedBy TWiki:Main.MeredithLesly
Codebase

SVN Range Mon, 13 Mar 2006 build 9258
AppliesTo Engine
Component

Priority Enhancement
CurrentState New
WaitingFor

TargetRelease minor
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2006-03-23 - MeredithLesly
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback