Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to stop replacing dashes with mdashes

edited September 2008 in Vanilla 1.0 Help
Hi :) I've installed vanilla & found one problem: when I paste html link to my old forum (perl) or my blog (wordpress) links r corrupted because of vanilla use to replace dashes with mdashes. For example, instead www.blabla-bla I see www.blabla—bla. I suppose I have to edit something in library/framework but I will be very glad to know which file & line. Thanks :)


  • edited September 2008
    Sorry where do you past them. I can't reproduce it in comments; e.g.:
  • edited September 2008
    Good for u Dinoboff :), but I didn't say that THIS forum replace dashes I'm worring about MINE & wanna know how I can avoid this replacement. Yes, mdashes appear when I post the comment - maybe because of russian version but however I need more information about replacement in vanilla. Thanks.
  • edited September 2008
    I tried it on a basic forum as well. Which extensions are you using? I am not aware of any dashes replacement in comments.
  • Thanks once more - I use Attachments, AjaxQuote, Category Jumper, Comment Removal, GuestSignIn, & HTML formatter. I suppose the most suspicious is HTML formatter...
  • I don't think HTML formatter does that. Could it be MySql?
  • Oops (: I know 2 little about Mysql, how should I check it?
  • I've check SQL table Comments -there r only dashes.
  • This really sounds like Smarty Pants is running... Try turning off all extensions and see if the dashes are removed... if so, then turn them on one at a time until the bad dashes come back.

    I don't know of any extensions doing this, but I'd like to know for sure.
  • Thank u! I've done it before posting my quest but managed to leave out Transmogriffer (: I disabled it so for now everything is OK :). I suppose I have to check code in order to find replacement...
This discussion has been closed.