title: Inserting a comma into text copied from a website
body: <p>I often encounter an annoying phenomenon. I select an address in the browser (Firefox):</p>
  
  <p><a href="https://i.stack.imgur.com/bBwfA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bBwfA.png" alt="enter image description here"></a><br>
  <sup>Example from yelp.com</sup></p>
  
  <p>Copy it into my adress bar, using <a href="https://duckduckgo.com/bang" rel="nofollow noreferrer">the <code>!maps</code> DuckDuckGo bang</a>:</p>
  
  <p><a href="https://i.stack.imgur.com/4OtK4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4OtK4.png" alt="enter image description here"></a></p>
  
  <p>We immediately see the problem: house number and zip code do not get separated, and more often than not Google Maps then fails to find the address (unsurprisingly).</p>
  
  <p>The code in this case is:</p>
  
  <pre><code>&lt;address&gt;
      Hans-Sachs-Str. 8&lt;br&gt;80469 Munich&lt;br&gt;Germany
  &lt;/address&gt;
  </code></pre>
  
  <p>I can imagine similar code with <code>&lt;p&gt;</code> or <code>&lt;div&gt;</code> instead of address; the relevant part seems to be how <code>&lt;br&gt;</code> will be copy-pasted.</p>
  
  <p>The following is also conceivable:</p>
  
  <pre><code>&lt;tr&gt;&lt;td&gt;Hans-Sachs-Str. 8&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;80469 Munich&lt;/td&gt;&lt;/tr&gt;
  </code></pre>
  
  <p>Which copies in just the same way.</p>
  
  <p>So if I put an address on my website (or write a user style), how can I make addresses copy-paste in a helpful way, e.g. with a comma between the individual fields/lines?</p>
  
  <p>Answers with HTML5 and CSS3 are fine, and current browsers can be required; I don't care about backwards compatibility. Answers without Javascript are preferred.</p>
  
  <hr>
  
  <p>I tried <code>br::before { content: ", "; }</code> but that didn't work.</p>