mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merged in RelentlessIdiot/sphinx (pull request #149)
Fix #1203: Do not append space to unknown field names.
This commit is contained in:
@@ -196,6 +196,17 @@ HTML_XPATH = {
|
||||
'Testing object descriptions'),
|
||||
(".//li[@class='toctree-l1']/a[@href='markup.html']",
|
||||
'Testing various markup'),
|
||||
# test unknown field names
|
||||
(".//th[@class='field-name']", 'Field_name:'),
|
||||
(".//th[@class='field-name']", 'Field_name all lower:'),
|
||||
(".//th[@class='field-name']", 'FIELD_NAME:'),
|
||||
(".//th[@class='field-name']", 'FIELD_NAME ALL CAPS:'),
|
||||
(".//th[@class='field-name']", 'Field_Name:'),
|
||||
(".//th[@class='field-name']", 'Field_Name All Word Caps:'),
|
||||
(".//th[@class='field-name']", 'Field_name:'),
|
||||
(".//th[@class='field-name']", 'Field_name First word cap:'),
|
||||
(".//th[@class='field-name']", 'FIELd_name:'),
|
||||
(".//th[@class='field-name']", 'FIELd_name PARTial caps:'),
|
||||
# custom sidebar
|
||||
(".//h4", 'Custom sidebar'),
|
||||
# docfields
|
||||
|
||||
Reference in New Issue
Block a user