Diff
Not logged in

Differences From Artifact [d35aefa949]:

To Artifact [5d3d38730c]:


845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
845
846
847
848
849
850
851


852
853
854
855
856
857
858







-
-







){
  if( text==0 ){
    /* no-op */
  }else{
    char cPrefix = '!';
    blob_append_literal(ob, "<span data-");
    switch (type) {
      case MKDT_ATREF:
        cPrefix = '@'; blob_append_literal(ob, "atref"); break;
      case MKDT_HASHTAG:
        cPrefix = '#'; blob_append_literal(ob, "hashtag"); break;
      case MKDT_NUMTAG:
        cPrefix = '#'; blob_append_literal(ob, "numtag"); break;
    }
    blob_append_literal(ob, "=\"");
    html_quote(ob, blob_buffer(text), blob_size(text));