diff options
| author | Nigel Osborne <kiwi3685@me.com> | 2011-07-03 01:27:52 +0000 |
|---|---|---|
| committer | Nigel Osborne <kiwi3685@me.com> | 2011-07-03 01:27:52 +0000 |
| commit | 9d1925d2451abd4afefe73ab86cfdef8fc6805cb (patch) | |
| tree | fc273e81160f7eeadc6304598b0c843fd88ac3a5 /library | |
| parent | 9c1fb698604b95d7025e95a9195a2d01448b22b9 (diff) | |
| download | webtrees-9d1925d2451abd4afefe73ab86cfdef8fc6805cb.tar.gz webtrees-9d1925d2451abd4afefe73ab86cfdef8fc6805cb.tar.bz2 webtrees-9d1925d2451abd4afefe73ab86cfdef8fc6805cb.zip | |
Fix some XHTML validations in Extra Information
Diffstat (limited to 'library')
| -rw-r--r-- | library/WT/Gedcom/Tag.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/WT/Gedcom/Tag.php b/library/WT/Gedcom/Tag.php index 5d6385a671..b70c79f6ed 100644 --- a/library/WT/Gedcom/Tag.php +++ b/library/WT/Gedcom/Tag.php @@ -928,10 +928,10 @@ class WT_Gedcom_Tag { // Translate a label/value pair, such as "Occupation: Farmer" public static function getLabelValue($tag, $value, $record=null) { return - '<div class="fact_'.preg_replace('/[^_A-Za-z0-9]/', '', $tag).'">'. + '<span class="fact_'.preg_replace('/[^_A-Za-z0-9]/', '', $tag).'">'. /* I18N: a label/value pair, such as "Occupation: Farmer". Some languages may need to change the punctuation. */ WT_I18N::translate('<span class="label">%1$s:</span> <span class="field">%2$s</span>', self::getLabel($tag, $record), $value). - '</div>'; + '</span>'; } // Get a list of facts, for use in the "fact picker" edit control |
