Search
Forums
Bug filter
Topic Information
ForumBug reporting
Authorjacoline
Last activity6 months, 3 weeks ago
StatusOpen
Replies1
Voices1
Tags

names, multiple marriages, default individual, json, contacts, Php 7.1, 3.3.7, style, Themes change, simpl_pages, datatables, block, CREM, Add a wife, relationships, immigration, adoption, latest, click, simpl_research, families, NCHI, IE problem, album, SUBM, date, progress, 2.0, report, webtrees 1.4.4.1, GDBR, re-order, pop-ups, blank, roadmap, latest version, danish, 3.3.1, administration pages, styles, slideshow, server, https, BURI, installation, fancy image bar, close, DIV, special character, access level, add, age, 2.0.2, edit menu, message contactform, sidebar, F.A.B., configure, defacto, login failure

Kiwitrees on Twitter

    Topic:   Census shared notes show unwanted white space   [Fix committed]

    Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • #11318
      Avatarjacoline
      Participant

      563 posts

      I have a lot of very old census where I copied from another table (a danish page with census) and it made a lot of empty spaces. Now with the new design, it does not ignore these spaces. Any idea how to fix it in an easy way? (have more than 2000 records so I really do not want to edit by typing).

      See images:

      notes

      Regards,
      Jamie Jaconelli

      admin and owner of:
      www.jaconelli.dk/webtrees, www.jaconelli.dk/history, www.jaconelli.dk/johnsen (familien-johnsen.dk)

      Attachments:
      #11322
      kiwikiwi
      Keymaster

      1923 posts

      I can easily fix the problem by trimming white space from the start and end of each text cell of the census shared note display.

      You can update that by replacing the file kiwitrees/modules_v4/census_assistant/module.php with the version in the attached zip folder.

      Removing the spaces from the existing stored data is more complicated. There are so many places that multiple spaces might exist in the GEDCOM data, that it is hard to isolate and remove just the ones that should be moved.

      For example, in a census shared note you might have the line:

      1 CONT       John Smith     |12     | Denmark||

      If you remove all multiple spaces you would have:

      1 CONTJohn Smith|12|Denmark

      when you should have

      1 CONT John Smith|12|Denmark

      So I would not recommend trying to bulk replace these.

      Nigel
      My personal kiwitrees site is www.our-families.info
      Attachments:
      1 user thanked author for this post.
    Viewing 2 posts - 1 through 2 (of 2 total)
    • You must be logged in to reply to this topic.