hunk.code_window:         if (dimensions.length > 1) {
               out += ' height="' + dimensions[1] + '"';
           }
           out += ' onload="window.markdownImageLoaded(this)" onerror="window.markdownImageLoaded(this)" class="markdown-inline-img"';
           out += ' crossorigin="anonymous"';
           out += this.options.xhtml ? '/>' : '>';
           return out;
       }
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.file_path: webapp/utils/markdown.jsx
hunk.type: replace
file: // Copyright 2015 The Go Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  package websocket
  
  import (
  	"crypto/tls"
  	"net"
  )
  
  func dialWithDialer(dialer *net.Dialer, config *Config) (conn net.Conn, err error) {
  	switch config.Location.Scheme {
  	case "ws":
  		conn, err = dialer.Dial("tcp", parseAuthority(config.Location))
  
  	case "wss":
  		conn, err = tls.DialWithDialer(dialer, "tcp", parseAuthority(config.Location), config.TlsConfig)
  
  	default:
  		err = ErrBadScheme
  	}
  	return
  }
  