[Groonga-commit] ranguba/chupa-text-decomposer-html at 640139b [master] Add original MIME type

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Feb 18 01:13:22 JST 2017


Kouhei Sutou	2017-02-18 01:13:22 +0900 (Sat, 18 Feb 2017)

  New Revision: 640139b7ff79d2810d4a9bd0018bd54dd620c47c
  https://github.com/ranguba/chupa-text-decomposer-html/commit/640139b7ff79d2810d4a9bd0018bd54dd620c47c

  Message:
    Add original MIME type

  Modified files:
    lib/chupa-text/decomposers/html.rb

  Modified: lib/chupa-text/decomposers/html.rb (+1 -0)
===================================================================
--- lib/chupa-text/decomposers/html.rb    2017-02-18 01:04:13 +0900 (7f456f6)
+++ lib/chupa-text/decomposers/html.rb    2017-02-18 01:13:22 +0900 (dd0f63f)
@@ -52,6 +52,7 @@ module ChupaText
         attributes.title = title_element.text if title_element
         encoding = doc.encoding
         attributes.encoding = encoding if encoding
+        attributes["original-mime-type"] = "text/html"
 
         yield(decomposed_data)
       end
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index