diff --git a/docs/scripting.xml b/docs/scripting.xml
index ca2a52383..7cad0420c 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -1739,7 +1739,7 @@ end
want information about. Doing so involves first creating two socket options by calling nmap.new_socket. Next we define an error-handling catch function which closes those sockets if failure is detected. At this point we can safely use object methods such as open,
close,
send and
- receive to operate on the network socket. In this case we call connect to make the connections. NSE's exception handling mechanism.exceptions in NSE
+ receive to operate on the network socket. In this case we call connect to make the connections. NSE's exception handling mechanismexceptions in NSE
is used to avoid excessive error-handling code. We simply wrap the networking calls in a try call which will in turn call our catch function if anything goes wrong.