diff --git a/salt/states/mysql_user.py b/salt/states/mysql_user.py
index <HASH>..<HASH> 100644
--- a/salt/states/mysql_user.py
+++ b/salt/states/mysql_user.py
@@ -39,8 +39,9 @@ def present(name,
 
     password_hash
         The password in hashed form. Be sure to quote the password because
-        YAML does't like the *
-        SELECT PASSWORD('mypass') ==> *6C8989366EAF75BB670AD8EA7A7FC1176A95CEF4
+        YAML does't like the ``*``::
+
+            SELECT PASSWORD('mypass') ==> *6C8989366EAF75BB670AD8EA7A7FC1176A95CEF4
     '''
     ret = {'name': name,
            'changes': {},
diff --git a/salt/states/virtualenv.py b/salt/states/virtualenv.py
index <HASH>..<HASH> 100644
--- a/salt/states/virtualenv.py
+++ b/salt/states/virtualenv.py
@@ -36,7 +36,7 @@ def managed(name,
 
     Also accepts any kwargs that the virtualenv module will.
 
-    .. code-block: yaml
+    .. code-block:: yaml
 
         /var/www/myvirtualenv.com:
           virtualenv.manage:
Fixed two reST errors in states docstrings