diff --git a/src/ca65html/ca65html b/src/ca65html/ca65html
index 09a222ce4..ffd281417 100755
--- a/src/ca65html/ca65html
+++ b/src/ca65html/ca65html
@@ -703,6 +703,9 @@ sub Process2 {
$Line = $3;
}
+ # Add an remainder if there is one
+ $OutLine .= Cleanup ($Line);
+
# Handle .proc
} elsif ($Line =~ /^(\.proc)(\s+)([_a-zA-Z]\w*)?(.*)$/) {