Can we improve the error message: "The biography has unmatched <ref> tags" No. 2.

+6 votes
134 views
The "The biography has unmatched <ref> tags." warning certainly has allowed me to find some of my typing errors.

There is a special case where the error message displays, if you save anyway - the display is fine.

The example is <ref name = Ref>

When changed to <ref name=Ref> everything is fine.  So the system sees the extra space as an error.

Hopefully correcting the message will help others.
in WikiTree Tech by Philip Smith G2G6 Pilot (278k points)
... or relax the syntax checker a bit.
Spaces count, just as letter, number, and punctuation count. Perhaps the error message should note that!

Seriously though, the error message should tell us to check for spacing mismatches, as well as spelling errors and transposed/omitted/doubled letters/numbers/punctuation.

We should be reminded that there is generally no margin for error in the coding for links, templates, citations, etc.

1 Answer

+3 votes
Hi Philip,

I'll put it on our to-do list. Thanks!
by Abby Glann G2G6 Pilot (440k points)

Related questions

+5 votes
2 answers
+2 votes
2 answers
+5 votes
1 answer
171 views asked May 16, 2018 in WikiTree Help by William Foster G2G6 Pilot (101k points)
+9 votes
3 answers
+6 votes
3 answers
174 views asked Mar 4, 2018 in WikiTree Tech by Bertram Sluys G2G6 Mach 2 (28.7k points)
+6 votes
2 answers
102 views asked Apr 25, 2020 in Genealogy Help by William Foster G2G6 Pilot (101k points)
+2 votes
2 answers

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...