diff --git a/docs/sphinxext/mantiddoc/directives/properties.py b/docs/sphinxext/mantiddoc/directives/properties.py
index 3fdf7c0d4837eeb32668294db801a2cb4405c9c4..6832a06919477252fdeafe8449a42139f69d590b 100644
--- a/docs/sphinxext/mantiddoc/directives/properties.py
+++ b/docs/sphinxext/mantiddoc/directives/properties.py
@@ -214,7 +214,7 @@ class PropertiesDirective(AlgorithmBaseDirective):
 
         allowedValueString = str(prop.allowedValues)
         # 4 allows for ['']
-        if len(allowedValueString) > 4: 
+        if len(allowedValueString) > 4:
             ##make sure the last sentence ended with a full stop (or equivalent)
             if (not desc.rstrip().endswith("."))      \
                 and (not desc.rstrip().endswith("!")) \
@@ -227,7 +227,7 @@ class PropertiesDirective(AlgorithmBaseDirective):
                 if (not item.startswith(".")) and (not item[-4:].startswith(".")):
                     isFileExts = False
                     break
-                    
+
             prefixString = " Allowed values: "
             if isFileExts:
                 prefixString = " Allowed extensions: "