diff --git a/Netdisco/share/views/ajax/search/node_by_ip.tt b/Netdisco/share/views/ajax/search/node_by_ip.tt
index 074a6556..83a1230d 100644
--- a/Netdisco/share/views/ajax/search/node_by_ip.tt
+++ b/Netdisco/share/views/ajax/search/node_by_ip.tt
@@ -95,8 +95,8 @@
Switch Port |
- [% node.switch | html_entity %] - [% node.port | html_entity %]
- [% ' ' IF NOT node.active %]
+ [% node.switch | html_entity %] - [% node.port | html_entity %]
+ [% ' ' IF NOT node.active %]
[% IF node.device.dns AND node.device_port AND node.device_port.name %]
([% node.device.dns | html_entity %] - [% node.device_port.name | html_entity %])
[% END %]
|