BoostIO/Boostnote

Exported web page shows flowchart markup instead of rendered flowchart #2648

gitname posted onGitHub

Current behavior

The web page Boostnote generates for a note containing a flowchart, shows the flowchart's underlying markup instead of showing the rendered flowchart.

image

Expected behavior

I expected the web page to show the rendered flowchart, as it appears in the Boostnote preview panel.

Steps to reproduce

  1. Using Boostnote, create a note containing a flowchart.
  2. With that note open in Boostnote, click the "Info" icon (top right) and, in the menu that appears, click the .html icon to export the note as an HTML document (i.e. a web page).
  3. Open the HTML document in a web browser.

Environment

  • Version : Boostnote 0.11.11
  • OS Version and name : Windows 10 Enterprise 2015 LTSB

This is the behavior I expect for snippets of other types of code, in general. For example, I would not expect Boostnote to process a PHP snippet and include the result in the exported HTML document. Rather, I would expect Boostnote to include the source code.

However, given that Boostnote does render the flowchart in the Boostnote preview panel, I did expect the exported HTML document to contain the rendered version also.

posted by gitname over 6 years ago

@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt

posted by IssueHuntBot over 6 years ago

@gitname I've improve my PR #2612 to fix the issue. Can you test it?

posted by daiyam over 6 years ago

@daiyam has submitted a pull request. See it on IssueHunt

posted by IssueHuntBot over 6 years ago

@daiyam, thanks for trying to resolve this.

I don't know how I can test it. I have never developed an Electron app before, although I have developed Node.js scripts and Express apps.

Is there a build of Boostnote available to me that includes your changes, or are there instructions available by which I can locally build a version of Boostnote that has your changes intact?

FYI: I wouldn't work on it until at least December 22, due to scheduling conflicts.

posted by gitname over 6 years ago

@gitname you can follow that doc. Thx

posted by daiyam over 6 years ago
git clone https://github.com/BoostIO/Boostnote.git
cd Boostnote
git fetch origin pull/2612/head:pr-2612
git checkout pr-2612
yarn
yarn run dev

Boostnote will compile and run with the modified code used in the pull request.

posted by MiloTodt about 6 years ago

@MiloTodt I receive a 404 when yarn attempts to retrieve http://registry.yarnpkg.com/js-sequence-diagrams/-/js-sequence-diagrams-1000000.0.6.tgz.

Anyone aware if there are any near future plans to fully address the issue?

posted by humblecoder over 5 years ago

Will be fixed as of 0.14.0

posted by Flexo013 about 5 years ago

@rokt33r has rewarded $18.00 to @daiyam. See it on IssueHunt

  • :moneybag: Total deposit: $20.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $2.00
posted by issuehunt-app[bot] over 4 years ago

Fund this Issue

$20.00
Rewarded

Rewarded pull request

Recent activities

daiyam was rewarded by rokt33r for BoostIO/Boostnote# 2648
over 4 years ago
daiyam submitted an output to  BoostIo/ Boostnote# 2648
over 6 years ago