mirror of
				https://github.com/xcat2/confluent.git
				synced 2025-10-31 03:12:31 +00:00 
			
		
		
		
	Fix HTML view for simple string values
Simple string values were incorrectly treated in the HTML view. Fix it so the data is actually readable.
This commit is contained in:
		| @@ -138,7 +138,8 @@ class ConfluentMessage(object): | ||||
|                         '<input type="checkbox" name="restexplorerhonorkey" ' | ||||
|                         'value="{1}">\r').format(valtype, key, self.desc) | ||||
|                 return snippet | ||||
|             if isinstance(val, bool): | ||||
|             if (isinstance(val, bool) or isinstance(val, str) or | ||||
|                     isinstance(val, unicode)): | ||||
|                 value = str(val) | ||||
|             elif val is not None and 'value' in val: | ||||
|                 value = val['value'] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user