Sentence error with 'Make local notes private' census option
Posted: 03 Aug 2021 18:17
I'm entering census data with AS, and have configured Age and Condition as generic columns so that the data gets written to the local note for use in fact sentences.
On the Census settings page, under Generic columns, I have Include note titles and Make local notes private ticked, and Newline between notes is selected.
That creates the following, as seen on the relevant census fact in FH:
Note the odd sentence, with "]]" as part of it. That comes from this code, which I would expect to work:
Maybe the sentence-generator is expecting the privacy brackets to appear on a separate lines, as if I make this change, it works perfectly:
Do I have something wrong with my sentence code, or could this be changed in AS?
On the Census settings page, under Generic columns, I have Include note titles and Make local notes private ticked, and Newline between notes is selected.
That creates the following, as seen on the relevant census fact in FH:
Note the odd sentence, with "]]" as part of it. That comes from this code, which I would expect to work:
Code: Select all
<para>{date:YEAR} census: On {date:DAY} {date:MONTH_NAME} {individual} appeared in the census <at {address},> {_place} as {=GetLabelledText(%FACT.NOTE2%,"Condition:")} {=GetLabelledText(%FACT.NOTE2%,"Relation to Head of Family:")}, {age}. <{note}>Do I have something wrong with my sentence code, or could this be changed in AS?