Fixes to state_doc, replacing a replace() with a split().
Merge pull request #13808 from garethgreenaway/sysmod_fixes

Fixes to state_doc, replacing a replace() with a split().