botman / driver-web

BotMan Web / API Driver
MIT License
85 stars 30 forks source link

Add nl2br message in buildReply() #22

Open sasha-x opened 5 years ago

sasha-x commented 5 years ago

Add nl2br for outgoing message text to keep new line formatting due to web widget expects replies in raw html format.

codecov[bot] commented 5 years ago

Codecov Report

Merging #22 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #22   +/-   ##
=========================================
  Coverage     53.48%   53.48%           
  Complexity       50       50           
=========================================
  Files             5        5           
  Lines           172      172           
=========================================
  Hits             92       92           
  Misses           80       80           
Impacted Files Coverage Δ Complexity Δ
src/WebDriver.php 74.79% <100.00%> (ø) 43.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98f10f4...dd45c9b. Read the comment docs.

sasha-x commented 4 years ago

Any news?

crynobone commented 4 years ago

Close and reopen PR to trigger travis build. I can't merge this yet without having a stable CI environment.

https://travis-ci.org/github/botman/driver-web/jobs/724012686