use generic url in demo_config
trim_punctuation, don't erroneously eat inter-word whitespace when trimming period