diff --git a/gramps/gui/configure.py b/gramps/gui/configure.py
index bd7050b6f..a37f01571 100644
--- a/gramps/gui/configure.py
+++ b/gramps/gui/configure.py
@@ -1489,6 +1489,26 @@ class GrampsPreferences(ConfigureDialog):
align=Gtk.Align.CENTER, bold=True)
row = 1
+ self.add_pos_int_entry(
+ grid, _('Markup for invalid date format'),
+ row, 'preferences.invalid-date-format',
+ self.update_markup_entry,
+ helptext=_(
+ 'Convenience markups are:\n'
+ '<b>Bold</b>\n'
+ '<big>'
+ 'Makes font relatively larger</big>\n'
+ '<i>Italic</i>\n'
+ '<s>Strikethrough</s>\n'
+ '<sub>Subscript</sub>\n'
+ '<sup>Superscript</sup>\n'
+ '<small>'
+ 'Makes font relatively smaller</small>\n'
+ '<tt>Monospace font</tt>\n'
+ '<u>Underline</u>\n\n'
+ 'For example: <u><b>%s</b></u>\n'
+ 'will display Underlined bold date.\n'))
+ row += 1
self.add_spinner(
grid, _('Date about range'),
row, 'behavior.date-about-range', (1, 9999))
@@ -1516,26 +1536,6 @@ class GrampsPreferences(ConfigureDialog):
self.add_spinner(
grid, _('Average years between generations'),
row, 'behavior.avg-generation-gap', (10, 30))
- row += 1
- self.add_pos_int_entry(
- grid, _('Markup for invalid date format'),
- row, 'preferences.invalid-date-format',
- self.update_markup_entry,
- helptext=_(
- 'Convenience markups are:\n'
- '<b>Bold</b>\n'
- '<big>'
- 'Makes font relatively larger</big>\n'
- '<i>Italic</i>\n'
- '<s>Strikethrough</s>\n'
- '<sub>Subscript</sub>\n'
- '<sup>Superscript</sup>\n'
- '<small>'
- 'Makes font relatively smaller</small>\n'
- '<tt>Monospace font</tt>\n'
- '<u>Underline</u>\n\n'
- 'For example: <u><b>%s</b></u>\n'
- 'will display Underlined bold date.\n'))
return _('Dates'), grid