Menu

2.50 apostrophe problem

Help
Anonymous
2003-09-20
2003-09-23
  • Anonymous

    Anonymous - 2003-09-20

    In 2.13, a note with an apostrophe in it appeared like this:

    The ceremony took place at Amy & Kevin's house (Tom's sister and brother-in-law).

    In 2.50, it looks like this:

    The ceremony took place at Amy & Kevin\'s house (Tom\'s sister and brother-in-law).

    -----------------

    2.50 is introducing backslashes before the single quote/apostrophe.  Can that be fixed?

    Thanks,

    Tom

     
    • John Finlay

      John Finlay - 2003-09-21

      I thought that I had found all of these.  Are you using MySQL or Index Files?  Where are the offending notes showing up?  Individual page? family page? Inside a source citation?  Is the note embedded in the record or is it linked through an @N@ ID?

      --John

       
    • Anonymous

      Anonymous - 2003-09-21

      I'm using index files.  Problem notes are showing up in the individual page (I don't have any source citations). The note is embedded in the record.

      Tom

       
    • John Finlay

      John Finlay - 2003-09-23

      To fix this, replace line 116 in the find_family_record function with this line:

      if (isset($famlist[$famid])) return preg_replace("/\\\'/", "'", $famlist[$famid]["gedcom"]);

      --John

       
    • John Finlay

      John Finlay - 2003-09-23

      Sorry, forgot mention that you need to make this change in the functions_index.php file.

      --John

       
    • Anonymous

      Anonymous - 2003-09-23

      Thanks, that solved it.

      Tom

       

Log in to post a comment.